Skip to content

Commit

Permalink
Update validity.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianc authored May 22, 2024
1 parent e8a1c06 commit 330e34e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/tests/validity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,10 @@ fn test_std_library() {
loop line in lines(\"hello\nworld\") {
echo line
}
// Split a multiline string into a list of string by one or more spaces
loop word in words(\"hello world ciao mondo\") {
echo word
}
// Join a list of strings into a string
echo join(split(\"hello world\", \"l\"), \"l\")
// Transform string into a lowercase string
Expand Down Expand Up @@ -790,6 +794,10 @@ fn test_std_library() {
"he o wor d",
"hello",
"world",
"hello",
"world",
"ciao",
"mondo",
"hello world",
"hello world",
"HELLO WORLD",
Expand Down

0 comments on commit 330e34e

Please sign in to comment.