diff options
author | Louis Pilfold <louis@lpil.uk> | 2019-06-25 22:48:07 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2019-06-25 22:48:07 +0100 |
commit | 2c2541750ca4b7b604070c75c18d84be833c97d5 (patch) | |
tree | f5e63d941a1c7e2c2d4dff1d81c43fa2766308ae /src/std/expect.gleam | |
parent | 96c20b8ebf8420fbba75c97fa08eaeb34e8dc394 (diff) | |
download | gleam_stdlib-2c2541750ca4b7b604070c75c18d84be833c97d5.tar.gz gleam_stdlib-2c2541750ca4b7b604070c75c18d84be833c97d5.zip |
stdlib namespace std -> gleam
Diffstat (limited to 'src/std/expect.gleam')
-rw-r--r-- | src/std/expect.gleam | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/std/expect.gleam b/src/std/expect.gleam deleted file mode 100644 index 5ea6a93..0000000 --- a/src/std/expect.gleam +++ /dev/null @@ -1,20 +0,0 @@ -// TODO: Move this module into another package so it can be used as a -// dep only in test. - -pub external type Expectation; - -pub external fn equal(a, a) -> Expectation = "gleam__stdlib" "expect_equal"; - -pub external fn not_equal(a, a) -> Expectation = "gleam__stdlib" "expect_not_equal"; - -pub external fn true(Bool) -> Expectation = "gleam__stdlib" "expect_true"; - -pub external fn false(Bool) -> Expectation = "gleam__stdlib" "expect_false"; - -pub external fn is_ok(Result(a, b)) -> Expectation = "gleam__stdlib" "expect_is_ok"; - -pub external fn is_error(Result(a, b)) -> Expectation = "gleam__stdlib" "expect_is_error"; - -pub fn fail() { - true(False) -} |