diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-03-20 18:43:41 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-03-20 18:43:41 +0900 |
| commit | 3f7cd4687fc7ec46d8a8dd6c9c2505205cbd32a8 (patch) | |
| tree | 90d501266388d9efde453cd0cc42b9fa1b24e02a /test/t/string.rb | |
| parent | cd3bf55b3e4b317a88c183eaf09e4b795c2e6e6f (diff) | |
| parent | fbad7a15953deb718c350eda42ce389b606088fe (diff) | |
| download | mruby-3f7cd4687fc7ec46d8a8dd6c9c2505205cbd32a8.tar.gz mruby-3f7cd4687fc7ec46d8a8dd6c9c2505205cbd32a8.zip | |
Merge pull request #4333 from shuujii/use-FrozenError-instead-of-RuntimeError-in-frozen-obj-mod-test
Use `FrozenError` instead of `RuntimeError` in frozen object modification test
Diffstat (limited to 'test/t/string.rb')
| -rw-r--r-- | test/t/string.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/string.rb b/test/t/string.rb index 7d3dd3c9c..cf3702cbe 100644 --- a/test/t/string.rb +++ b/test/t/string.rb @@ -711,7 +711,7 @@ assert('String#freeze') do str = "hello" str.freeze - assert_raise(RuntimeError) { str.upcase! } + assert_raise(FrozenError) { str.upcase! } end assert('String literal concatenation') do |
