aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gleam/dynamic_test.gleam29
1 files changed, 0 insertions, 29 deletions
diff --git a/test/gleam/dynamic_test.gleam b/test/gleam/dynamic_test.gleam
index 0d8dd09..3235fe6 100644
--- a/test/gleam/dynamic_test.gleam
+++ b/test/gleam/dynamic_test.gleam
@@ -130,35 +130,6 @@ if javascript {
}
if erlang {
- // TODO: remove
- pub fn thunk_test() {
- fn() { 1 }
- |> dynamic.from
- |> dynamic.thunk
- |> should.be_ok
-
- fn() { 1 }
- |> dynamic.from
- |> dynamic.thunk
- |> result.map(fn(f) { f() })
- |> should.equal(Ok(dynamic.from(1)))
-
- fn(x) { x }
- |> dynamic.from
- |> dynamic.thunk
- |> should.be_error
-
- 1
- |> dynamic.from
- |> dynamic.thunk
- |> should.be_error
-
- []
- |> dynamic.from
- |> dynamic.thunk
- |> should.be_error
- }
-
pub fn bool_test() {
True
|> dynamic.from