From f31235eb6b36bbab51651e3ea8733437c7e34600 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Tue, 28 Apr 2020 19:10:36 +0100 Subject: Docs ready for v0.8 --- gen/test/gleam@dynamic_test.erl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gen/test/gleam@dynamic_test.erl') diff --git a/gen/test/gleam@dynamic_test.erl b/gen/test/gleam@dynamic_test.erl index 587b168..785af15 100644 --- a/gen/test/gleam@dynamic_test.erl +++ b/gen/test/gleam@dynamic_test.erl @@ -14,11 +14,11 @@ string_test() -> ), gleam@should:equal( gleam@dynamic:string(gleam@dynamic:from(1)), - {error, <<"Expected a String, got `1`"/utf8>>} + {error, <<"Expected a string, got an int"/utf8>>} ), gleam@should:equal( gleam@dynamic:string(gleam@dynamic:from([])), - {error, <<"Expected a String, got `[]`"/utf8>>} + {error, <<"Expected a string, got a list"/utf8>>} ). int_test() -> @@ -26,11 +26,11 @@ int_test() -> gleam@should:equal(gleam@dynamic:int(gleam@dynamic:from(2)), {ok, 2}), gleam@should:equal( gleam@dynamic:int(gleam@dynamic:from(1.0)), - {error, <<"Expected an Int, got `1.0`"/utf8>>} + {error, <<"Expected an int, got a float"/utf8>>} ), gleam@should:equal( gleam@dynamic:int(gleam@dynamic:from([])), - {error, <<"Expected an Int, got `[]`"/utf8>>} + {error, <<"Expected an int, got a list"/utf8>>} ). float_test() -> @@ -38,11 +38,11 @@ float_test() -> gleam@should:equal(gleam@dynamic:float(gleam@dynamic:from(2.2)), {ok, 2.2}), gleam@should:equal( gleam@dynamic:float(gleam@dynamic:from(1)), - {error, <<"Expected a Float, got `1`"/utf8>>} + {error, <<"Expected a float, got an int"/utf8>>} ), gleam@should:equal( gleam@dynamic:float(gleam@dynamic:from([])), - {error, <<"Expected a Float, got `[]`"/utf8>>} + {error, <<"Expected a float, got a list"/utf8>>} ). thunk_test() -> @@ -71,11 +71,11 @@ bool_test() -> ), gleam@should:equal( gleam@dynamic:bool(gleam@dynamic:from(1)), - {error, <<"Expected a Bool, got `1`"/utf8>>} + {error, <<"Expected a bool, got an int"/utf8>>} ), gleam@should:equal( gleam@dynamic:bool(gleam@dynamic:from([])), - {error, <<"Expected a Bool, got `[]`"/utf8>>} + {error, <<"Expected a bool, got a list"/utf8>>} ). atom_test() -> -- cgit v1.2.3