aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gleam/string_test.gleam8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/gleam/string_test.gleam b/test/gleam/string_test.gleam
index 15a30f8..f4f9089 100644
--- a/test/gleam/string_test.gleam
+++ b/test/gleam/string_test.gleam
@@ -66,3 +66,11 @@ pub fn compare_test() {
string.compare("t", "ABC")
|> expect.equal(_, order.Gt)
}
+
+pub fn concat_test() {
+ [
+ "Hello", ", ", "world!",
+ ]
+ |> string.concat
+ |> expect.equal(_, "Hello, world!")
+}