From eead09e4fc457b85a5ff6cb990cf293c5d84336c Mon Sep 17 00:00:00 2001 From: Jamie Luck Date: Sun, 29 Mar 2020 06:07:06 -0400 Subject: Rename gleam/expect to gleam/should (#27) --- gen/test/gleam@atom_test.erl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gen/test/gleam@atom_test.erl') 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">> ). -- cgit v1.2.3