aboutsummaryrefslogtreecommitdiff
path: root/gen/test/gleam@atom_test.erl
diff options
context:
space:
mode:
authorJamie Luck <delucks@users.noreply.github.com>2020-03-29 06:07:06 -0400
committerGitHub <noreply@github.com>2020-03-29 11:07:06 +0100
commiteead09e4fc457b85a5ff6cb990cf293c5d84336c (patch)
tree093af27b46333eda5aea4e7da6f48cc680c77256 /gen/test/gleam@atom_test.erl
parent338ad88b61fda07b008632652b9553c6bf2c0aab (diff)
downloadgleam_stdlib-eead09e4fc457b85a5ff6cb990cf293c5d84336c.tar.gz
gleam_stdlib-eead09e4fc457b85a5ff6cb990cf293c5d84336c.zip
Rename gleam/expect to gleam/should (#27)
Diffstat (limited to 'gen/test/gleam@atom_test.erl')
-rw-r--r--gen/test/gleam@atom_test.erl16
1 files changed, 8 insertions, 8 deletions
diff --git a/gen/test/gleam@atom_test.erl b/gen/test/gleam@atom_test.erl
index 3c4355d..da1f699 100644
--- a/gen/test/gleam@atom_test.erl
+++ b/gen/test/gleam@atom_test.erl
@@ -4,23 +4,23 @@
-export([from_string_test/0, create_from_string_test/0, to_string_test/0]).
from_string_test() ->
- gleam@expect:is_ok(gleam@atom:from_string(<<"ok">>)),
- gleam@expect:is_ok(gleam@atom:from_string(<<"expect">>)),
- gleam@expect:equal(
+ gleam@should:be_ok(gleam@atom:from_string(<<"ok">>)),
+ gleam@should:be_ok(gleam@atom:from_string(<<"expect">>)),
+ gleam@should:equal(
gleam@atom:from_string(<<"this is not an atom we have seen before">>),
{error, atom_not_loaded}
).
create_from_string_test() ->
- gleam@expect:equal(
+ gleam@should:equal(
{ok, gleam@atom:create_from_string(<<"ok">>)},
gleam@atom:from_string(<<"ok">>)
),
- gleam@expect:equal(
+ gleam@should:equal(
{ok, gleam@atom:create_from_string(<<"expect">>)},
gleam@atom:from_string(<<"expect">>)
),
- gleam@expect:equal(
+ gleam@should:equal(
{ok,
gleam@atom:create_from_string(
<<"this is another atom we have not seen before">>
@@ -31,11 +31,11 @@ create_from_string_test() ->
).
to_string_test() ->
- gleam@expect:equal(
+ gleam@should:equal(
gleam@atom:to_string(gleam@atom:create_from_string(<<"ok">>)),
<<"ok">>
),
- gleam@expect:equal(
+ gleam@should:equal(
gleam@atom:to_string(gleam@atom:create_from_string(<<"expect">>)),
<<"expect">>
).