diff options
author | kaiwu <kaiwu2004@gmail.com> | 2025-05-16 23:18:29 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2025-05-16 23:21:20 +0800 |
commit | b9d7eefcabfb98ae8417ae33154864becd6ffdc3 (patch) | |
tree | f0880b52dfc288685e0279cd72d02123500dd4a6 /test | |
parent | 689cd29ea0576e17916814074ccb5822438aaa31 (diff) | |
download | glv8-main.tar.gz glv8-main.zip |
Diffstat (limited to 'test')
-rw-r--r-- | test/glv8/plv8_test.gleam | 3 |
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"))) } |