8000 test: github actions by gwigz · Pull Request #21 · gwigz/slua · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

test: github actions #21

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

Merged
merged 18 commits into from
Apr 13, 2025
Merged

test: github actions #21

merged 18 commits into from
Apr 13, 2025

Conversation

gwigz
Copy link
Owner
@gwigz gwigz commented Apr 12, 2025

🤞

Copy link
vercel bot commented Apr 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
slua-tips ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 13, 2025 2:56pm

Copy link
github-actions bot commented Apr 12, 2025

test: Run #20

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
106 106 0 0 0 0 0 20ms

🎉 All tests passed!

Suites

106 passed, 0 failed, and 0 other

Suite Passed Failed Other Duration
✅ ll.StringTrim
        ✅ trims the whole string
        ✅ handles tabs
        ✅ handles new lines
        ✅ handles line feeds
        ✅ handles carriage returns
        ✅ trims the head of the string
        ✅ trims the tail of the string
        ✅ returns "Hello, world!" when called with "Hello, world!", STRING_TRIM
        ✅ returns "Hello, world!" when called with "Hello, world!", STRING_TRIM_HEAD
        ✅ returns "Hello, world!" when called with "Hello, world!", STRING_TRIM_TAIL
        ✅ returns "Hello" when called with " Hello", STRING_TRIM
        ✅ returns "Hello" when called with " Hello", STRING_TRIM_HEAD
        ✅ returns " Hello" when called with " Hello", STRING_TRIM_TAIL
        ✅ returns "Hello" when called with "Hello ", STRING_TRIM
        ✅ returns "Hello " when called with "Hello ", STRING_TRIM_HEAD
        ✅ returns "Hello" when called with "Hello ", STRING_TRIM_TAIL
        ✅ returns "Hello" when called with " Hello ", STRING_TRIM
        ✅ returns "Hello " when called with " Hello ", STRING_TRIM_HEAD
        ✅ returns " Hello" when called with " Hello ", STRING_TRIM_TAIL
        ✅ returns "Hello" when called with "\t \n Hello \t \n", STRING_TRIM
        ✅ returns "Hello \t \n" when called with "\t \n Hello \t \n", STRING_TRIM_HEAD
        ✅ returns "\t \n Hello" when called with "\t \n Hello \t \n", STRING_TRIM_TAIL
        ✅ returns "" when called with "", STRING_TRIM
        ✅ returns "" when called with "", STRING_TRIM_HEAD
        ✅ returns "" when called with "", STRING_TRIM_TAIL
        ✅ returns "" when called with " ", STRING_TRIM
        ✅ returns "" when called with " ", STRING_TRIM_HEAD
        ✅ returns "" when called with " ", STRING_TRIM_TAIL
        ✅ returns "" when called with "\t \n \r", STRING_TRIM
        ✅ returns "" when called with "\t \n \r", STRING_TRIM_HEAD
        ✅ returns "" when called with "\t \n \r", STRING_TRIM_TAIL
        ✅ returns "a" when called with "a", STRING_TRIM
        ✅ returns "a" when called with "a", STRING_TRIM_HEAD
        ✅ returns "a" when called with "a", STRING_TRIM_TAIL
        ✅ returns "a" when called with " a ", STRING_TRIM
        ✅ returns "a " when called with " a ", STRING_TRIM_HEAD
        ✅ returns " a" when called with " a ", STRING_TRIM_TAIL
        ✅ returns "Hello World" when called with " Hello World ", STRING_TRIM
        ✅ returns "Hello World " when called with " Hello World ", STRING_TRIM_HEAD
        ✅ returns " Hello World" when called with " Hello World ", STRING_TRIM_TAIL
        ✅ returns "!@#$%^&*()" when called with " !@#$%^&*() ", STRING_TRIM
        ✅ returns "!@#$%^&*() " when called with " !@#$%^&*() ", STRING_TRIM_HEAD
        ✅ returns " !@#$%^&*()" when called with " !@#$%^&*() ", STRING_TRIM_TAIL
        ✅ returns "\u{1F680} Hello \u{1F30D}" when called with " \u{1F680} Hello \u{1F30D} ", STRING_TRIM
        ✅ returns "\u{1F680} Hello \u{1F30D} " when called with " \u{1
        ✅ returns " \u{1F680} Hello \u{1F30D}" when called with " \u{1F680} Hello \u{1F30D} ", STRING_TRIM_TAIL
        ✅ returns "\u{00A0}Hello\u{00A0}" when called with "\u{00A0}Hello\u{00A0}", STRING_TRIM
        ✅ returns "\u{00A0}Hello\u{00A0}" when called with "\u{00A0}Hello\u{00A0}", STRING_TRIM_HEAD
        ✅ returns "\u{00A0}Hello\u{00A0}" when called with "\u{00A0}Hello\u{00A0}", STRING_TRIM_TAIL
        ✅ returns "\u{200B}Hello\u{200B}" when called with "\u{200B}Hello\u{200B}", STRING_TRIM
        ✅ returns "\u{200B}Hello\u{200B}" when called with "\u{200B}Hello\u{200B}", STRING_TRIM_HEAD
        ✅ returns "\u{200B}Hello\u{200B}" when called with "\u{200B}Hello\u{200B}", STRING_TRIM_TAIL
8000         ✅ returns "\u{2009}Hello\u{2009}" when called with "\u{2009}Hello\u{2009}", STRING_TRIM
        ✅ returns "\u{2009}Hello\u{2009}" when called with "\u{2009}Hello\u{2009}", STRING_TRIM_HEAD
        ✅ returns "\u{2009}Hello\u{2009}" when called with "\u{2009}Hello\u{2009}", STRING_TRIM_TAIL
        ✅ returns "\u{00A0}\u{200B}\u{2009}Hello\u{00A0}\u{200B}\u{2009}" when called with "\u{00A0}\u{200B}\u{2009}Hello\u{00A0}\u{200B}\u{2009}", STRING_TRIM
        ✅ returns "\u{00A0}\u{200B}\u{2009}Hello\u{00A0}\u{200B}\u{2009}" when called with "\u{00A0}\u{200B}\u{2009}Hello\u{00A0}\u{200B}\u{2009}", STRING_TRIM_HEAD
        ✅ returns "\u{00A0}\u{200B}\u{2009}Hello\u{00A0}\u{200B}\u{2009}" when called with "\u{00A0}\u{200B}\u{2009}Hello\u{00A0}\u{200B}\u{2009}", STRING_TRIM_TAIL
        ✅ returns "\u{00A0}\nHello \t\u{00A0}" when called with " \t\u{00A0}\nHello \t\u{00A0}\n", STRING_TRIM
        ✅ returns "\u{00A0}\nHello \t\u{00A0}\n" when called with " \t\u{00A0}\nHello \t\u{00A0}\n", STRING_TRIM_HEAD
        ✅ returns " \t\u{00A0}\nHello \t\u{00A0}" when called with " \t\u{00A0}\nHello \t\u{00A0}\n", STRING_TRIM_TAIL
✅ 61 ❌ 0 ⏭️ 0 not captured
✅ ll.GetSubString
        ✅ handles typical range
        ✅ handles negative indices
        ✅ handles out of bounds indices
        ✅ handles empty string
        ✅ handles negative start index
        ✅ handles negative end index
        ✅ handles non-integer indices
        ✅ handles non-integer indices
        ✅ handles end index greater than string length
        ✅ ignores start index greater than end index
        ✅ ignores start index greater than end index
        ✅ ignores start index greater than end index
        ✅ returns "abcdefghijklmnopqrstuvwxyz" for 0, 25
        ✅ returns "bcdefghijklmnopqrstuvwxy" for 1, 24
        ✅ returns "a" for 0, 0
        ✅ returns "z" for 25, 25
        ✅ returns "ab" for 0, 1
        ✅ returns "yz" for 24, 25
        ✅ returns "b" for 1, 1
        ✅ returns "bcdefghijklmnopqrstuvwxyz" for -25, 25
        ✅ returns "z" for -1, 25
        ✅ returns "z" for -1, -1
        ✅ returns "abcdefghijklmnopqrstuvwxyz" for -26, -1
        ✅ returns "abcdefghijklmnopqrsvwxyz" for -5, -8
        ✅ returns "stuv" for -8, -5
        ✅ returns "a" for -26, -26
        ✅ returns "n" for -13, -13
        ✅ returns "abcdefghijklmnopqrstuvwxyz" for 0, 100
        ✅ returns "abcdefghijklmnopqrstuvwxyz" for -100, 25
        ✅ returns "abcdefghijklmnopqrstuvwxyz" for 5, 4
        ✅ returns "abcdefghijklmnopqrstuvwxyz" for 13, 12
        ✅ returns "abcdefghijklmnopqvwxyz" for -5, -10
        ✅ returns "abcdefghijklmnopqrstuvwxyz" for 0, -100
        ✅ returns "abcdefghijklm" for 0, 12
        ✅ returns "nopqrstuvwxyz" for 13, 25
        ✅ returns "ijklmnopqr" for 8, 17
        ✅ returns "ijklmnopqr" for -18, -9
        ✅ returns "abcdefghijklm" for 0, -14
        ✅ returns "nopqrstuvwxyz" for -13, 25
        ✅ returns "n" for 13, 13
        ✅ returns "n" for -13, -13
        ✅ returns "a" for 0, 0
        ✅ returns "a" for -26, -26
        ✅ returns "z" for 25, 25
        ✅ returns "z" for -1, -1
✅ 45 ❌ 0 ⏭️ 0 not captured

Github Test Reporter by CTRF 💚

🔄 This comment has been updated

Repository owner deleted a comment from github-actions bot Apr 13, 2025
@gwigz gwigz merged commit 2dc2212 into main Apr 13, 2025
3 of 4 checks passed
@gwigz gwigz deleted the github-actions branch April 14, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0