aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRobert Peterson <robert.peterson@gmail.com>2019-04-18 07:38:28 -0700
committerLouis Pilfold <louis@lpil.uk>2019-04-18 16:16:05 +0100
commitf2b09ca44f9448cf351093abdf50f9bb6e411423 (patch)
tree40ab49c7586516f796f0ccc359ca035da7b0af3c /test
parentaecd1d23fc3fa3bb5bf5749770ef8b9b7a9ee068 (diff)
downloadgleam_stdlib-f2b09ca44f9448cf351093abdf50f9bb6e411423.tar.gz
gleam_stdlib-f2b09ca44f9448cf351093abdf50f9bb6e411423.zip
Add str:append
Diffstat (limited to 'test')
-rw-r--r--test/str_test.gleam5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/str_test.gleam b/test/str_test.gleam
index 13d781c..49e45e7 100644
--- a/test/str_test.gleam
+++ b/test/str_test.gleam
@@ -43,6 +43,11 @@ pub fn replace_test() {
|> expect:equal(_, "Gleam++Erlang++Elixir")
}
+pub fn append_test() {
+ str:append("Test", " Me")
+ |> expect:equal(_, "Test Me")
+}
+
pub fn from_int_test() {
123
|> str:from_int