diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-03 13:25:25 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-03 13:25:25 +0900 |
| commit | 933f8013e0d2ef1b228ca8607e05c85b15b09d58 (patch) | |
| tree | a0d0b13c207867036d4a9474c23494b5ef1b9595 /test | |
| parent | 9a92b40aaf0fc7b94623f5fca3692167b4048643 (diff) | |
| parent | 55a43c78ffb6a5e42177e98d72f91b3c53964cdc (diff) | |
| download | mruby-933f8013e0d2ef1b228ca8607e05c85b15b09d58.tar.gz mruby-933f8013e0d2ef1b228ca8607e05c85b15b09d58.zip | |
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'test')
| -rw-r--r-- | test/t/string.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/t/string.rb b/test/t/string.rb index 3219f98c3..2ebaad1b7 100644 --- a/test/t/string.rb +++ b/test/t/string.rb @@ -36,6 +36,10 @@ end assert('String#*', '15.2.10.5.5') do assert_equal 'aaaaa', 'a' * 5 + assert_equal '', 'a' * 0 + assert_raise(ArgumentError) do + 'a' * -1 + end end assert('String#[]', '15.2.10.5.6') do |
