aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/glv8/plv8_test.gleam3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/glv8/plv8_test.gleam b/test/glv8/plv8_test.gleam
index 096819c..769fa08 100644
--- a/test/glv8/plv8_test.gleam
+++ b/test/glv8/plv8_test.gleam
@@ -1,5 +1,4 @@
import app/plv8
-import gleam/dynamic
import gleam/dynamic/decode
import gleeunit/should
import glv8/util
@@ -11,7 +10,7 @@ pub fn rec_test() {
decode.success(plv8.Rec(i: i, t: t))
}
plv8.scalar_to_record(42, "hi")
- |> dynamic.from
+ |> util.from
|> decode.run(decoder)
|> should.equal(Ok(plv8.Rec(42, "hi")))
}