pocketlang/tests/lang/builtin_fn.pk
Thakee Nathees 0d87403f6b string interpolation implemented (1/2)
expression interpolation have implemented (ie. "a${b}c")
name interpolation yet to do (ie. "a $b c")
2022-04-05 08:27:46 +05:30

8 lines
181 B
Plaintext

## TODO: add more test of built in functions.
assert(list_join([1, 2, 3]) == "123")
assert(list_join(["hello", " world"]) == "hello world")
assert(list_join([[], []]) == "[][]")