-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added gears.string.psplit function to support patterns #3839
Conversation
you need to add new unit tests for newly-added functionality |
(in spec/gears/string_spec.lua) |
Codecov Report
@@ Coverage Diff @@
## master #3839 +/- ##
==========================================
- Coverage 91.03% 91.01% -0.02%
==========================================
Files 901 901
Lines 57540 57566 +26
==========================================
+ Hits 52380 52396 +16
- Misses 5160 5170 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@actionless there are two workflows haven't been passed. Should I do something with them to fix? |
The luajit error was from a flaky test. I restarted the CI and it's green now. The fixed-lgi-lua5.2 is a luacheck warning:
That's a new check for this warning that they added recently, lunarmodules/luacheck#94. It needs to be taken care of first. |
Last commit message: style(awful: permissions): luacheck updated (awesomeWM/awesome#3839 (comment)) (#3840) Commits: awesomeWM/awesome@d36e132...28381d2 Build URL: https://github.com/awesomeWM/awesome/actions/runs/5893957619
Last commit message: style(awful: permissions): luacheck updated (awesomeWM/awesome#3839 (comment)) (#3840) Commits: awesomeWM/awesome@d36e132...28381d2 Build URL: https://github.com/awesomeWM/awesome/actions/runs/5893957619
Last commit message: style(awful: permissions): luacheck updated (awesomeWM/awesome#3839 (comment)) (#3840) Commits: awesomeWM/awesome@d36e132...28381d2 Build URL: https://github.com/awesomeWM/awesome/actions/runs/5893957619 Ref: awesomeWM/awesome#3839
UPD tree
@Aire-One excuse me for a long delay. Done! |
What should I do to fix checks passing? |
I squashed the commits, this should solve the problem which was preventing this from auto-merging:
|
It will support strings with more than one char length and regex patterns. Also there's no need for additional checks for start and end of a string anymore.