diff options
author | Björn Gustavsson <[email protected]> | 2010-10-29 11:49:46 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-10-29 11:49:46 +0200 |
commit | b9fc6c54079d4932fb156b9dad1f5c3ec946f952 (patch) | |
tree | e2316c3ba7465a8dfd3abbe021fd162accc2908b | |
parent | 0af8aefde96691d80fa13a41b878eac0c8f1e9c1 (diff) | |
download | otp-b9fc6c54079d4932fb156b9dad1f5c3ec946f952.tar.gz otp-b9fc6c54079d4932fb156b9dad1f5c3ec946f952.tar.bz2 otp-b9fc6c54079d4932fb156b9dad1f5c3ec946f952.zip |
string_SUITE: Add test for string:copies(Str, Float)
-rw-r--r-- | lib/stdlib/test/string_SUITE.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/test/string_SUITE.erl b/lib/stdlib/test/string_SUITE.erl index 5df3a869d0..452e048dd7 100644 --- a/lib/stdlib/test/string_SUITE.erl +++ b/lib/stdlib/test/string_SUITE.erl @@ -241,6 +241,7 @@ copies(Config) when is_list(Config) -> ?line 30 = length(string:copies("123", 10)), %% invalid arg type ?line {'EXIT',_} = (catch string:copies("hej", -1)), + ?line {'EXIT',_} = (catch string:copies("hej", 2.0)), ok. words(suite) -> |