[lang-ref] ( string_starts_with ) ( bash )
@test "string starts with" {
# [[ "$str" = "$prefix"* ]]
str="Good morning"
prefix="Good"
[[ "$str" == "$prefix"* ]]
}
@test "string starts with" {
# [[ "$str" = "$prefix"* ]]
str="Good morning"
prefix="Good"
[[ "$str" == "$prefix"* ]]
}