You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the bats runs in github action, it reports bats: unknown test name `$'test_l-2estr-5flen_-27G\303\251n\303\251ralit\303\251s-27''.
Actually the test title has some French and Chinese characters.
# bats: unknown test name `$'test_l-2estr-5flen_-27G\303\251n\303\251ralit\303\251s-27''
@test "l.str_len 'Généralités'" {
run l.str_len 'Généralités'
assert_success
assert_output 14
}
# bats: unknown test name `$'test_l-2estr-5flen_-27\344\270\255\346\226\207-27''
@test "l.str_len '中文'" {
run l.str_len '中文'
assert_success
assert_output 6
}
But it tests well on my MacOS. The "unknown test name" only appears in github action.
Can someone explain this? And how to fix the problem?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When the bats runs in github action, it reports
bats: unknown test name `$'test_l-2estr-5flen_-27G\303\251n\303\251ralit\303\251s-27''
.Actually the test title has some French and Chinese characters.
But it tests well on my MacOS. The "unknown test name" only appears in github action.
Can someone explain this? And how to fix the problem?
Beta Was this translation helpful? Give feedback.
All reactions