aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Saxton <peterhsaxton@gmail.com>2020-07-01 14:51:10 +0100
committerLouis Pilfold <louis@lpil.uk>2020-07-01 18:52:36 +0100
commitbe064d04b749e206fcd0b69bc6778500a42d70d8 (patch)
tree410c2216f737546b5383cb9e7bc0b23b88208a44 /test
parent7d1366b6787b869a78cf8874e521634d2d0aaa95 (diff)
downloadgleam_stdlib-be064d04b749e206fcd0b69bc6778500a42d70d8.tar.gz
gleam_stdlib-be064d04b749e206fcd0b69bc6778500a42d70d8.zip
use bit_string fn
Diffstat (limited to 'test')
-rw-r--r--test/gleam/dynamic_test.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gleam/dynamic_test.gleam b/test/gleam/dynamic_test.gleam
index 9416e2f..2b272d4 100644
--- a/test/gleam/dynamic_test.gleam
+++ b/test/gleam/dynamic_test.gleam
@@ -52,12 +52,12 @@ pub fn string_test() {
1
|> dynamic.from
|> dynamic.string
- |> should.equal(Error("Expected a string, got an int"))
+ |> should.equal(Error("Expected a bit_string, got an int"))
[]
|> dynamic.from
|> dynamic.string
- |> should.equal(Error("Expected a string, got a list"))
+ |> should.equal(Error("Expected a bit_string, got a list"))
}
pub fn int_test() {