diff options
author | Louis Pilfold <louis@lpil.uk> | 2019-05-29 21:02:55 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2019-06-02 21:12:59 +0100 |
commit | 5a1f3494eb9517a7b7a332cb74dd10a6a7d32d31 (patch) | |
tree | 5d0d281c66cf71c6e3ca880e6621138a71b95e7b /gen/test/atom_test.erl | |
parent | ee03f5a0465e176e220060164a5ffc408f73ed0d (diff) | |
download | gleam_stdlib-5a1f3494eb9517a7b7a332cb74dd10a6a7d32d31.tar.gz gleam_stdlib-5a1f3494eb9517a7b7a332cb74dd10a6a7d32d31.zip |
Enable namespaced modules
Diffstat (limited to 'gen/test/atom_test.erl')
-rw-r--r-- | gen/test/atom_test.erl | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gen/test/atom_test.erl b/gen/test/atom_test.erl deleted file mode 100644 index ae9f76b..0000000 --- a/gen/test/atom_test.erl +++ /dev/null @@ -1,23 +0,0 @@ --module(atom_test). --compile(no_auto_import). - --export([from_string_test/0, create_from_string_test/0, to_string_test/0]). - -from_string_test() -> - expect:is_ok(atom:from_string(<<"ok">>)), - expect:is_ok(atom:from_string(<<"expect">>)), - expect:is_error(atom:from_string(<<"this is not an atom we have seen before">>)). - -create_from_string_test() -> - expect:equal({ok, atom:create_from_string(<<"ok">>)}, - atom:from_string(<<"ok">>)), - expect:equal({ok, atom:create_from_string(<<"expect">>)}, - atom:from_string(<<"expect">>)), - expect:equal({ok, - atom:create_from_string(<<"this is another atom we have not seen before">>)}, - atom:from_string(<<"this is another atom we have not seen before">>)). - -to_string_test() -> - expect:equal(atom:to_string(atom:create_from_string(<<"ok">>)), <<"ok">>), - expect:equal(atom:to_string(atom:create_from_string(<<"expect">>)), - <<"expect">>). |