aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorinoas <mail@inoas.com>2022-08-10 20:24:11 +0200
committerLouis Pilfold <louis@lpil.uk>2022-08-11 09:56:08 +0100
commitaa6a32fdb1d8f43db1c9957c9966f4c46b898229 (patch)
tree09bd311405fb1315ce2ca5f60426ab33fd52d26c /test
parent4959c80c687689dfb5383ddc7c2d1e707cd4dd7e (diff)
downloadgleam_stdlib-aa6a32fdb1d8f43db1c9957c9966f4c46b898229.tar.gz
gleam_stdlib-aa6a32fdb1d8f43db1c9957c9966f4c46b898229.zip
single pass proper/improper list inspection
Diffstat (limited to 'test')
-rw-r--r--test/gleam/string_test.gleam4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/gleam/string_test.gleam b/test/gleam/string_test.gleam
index b025f5c..d817a35 100644
--- a/test/gleam/string_test.gleam
+++ b/test/gleam/string_test.gleam
@@ -791,12 +791,10 @@ if erlang {
|> string.inspect()
|> should.equal("\"abc\"")
}
-}
-if erlang {
pub fn improper_list_inspect_test() {
let list = improper_list_append(1, 2, 3)
- assert "//erl[1,2|3] %% improper list" = string.inspect(list)
+ assert "//erl[1, 2 | 3] %% improper list" = string.inspect(list)
}
// Warning: The type of this function is incorrect