diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-07 00:44:08 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-07 00:44:08 +0900 |
| commit | 6c299aae67e2e0f13a470b855298bc1efb43387a (patch) | |
| tree | 4a3509d41c78f428da55e3b4aa966793d624d8d7 /test/t | |
| parent | 0b8d8dd379fc5df137477019f0ae355d7a01735f (diff) | |
| download | mruby-6c299aae67e2e0f13a470b855298bc1efb43387a.tar.gz mruby-6c299aae67e2e0f13a470b855298bc1efb43387a.zip | |
fixed wrong stack adjustment for ensure clauses; fix #3175
Diffstat (limited to 'test/t')
| -rw-r--r-- | test/t/exception.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/t/exception.rb b/test/t/exception.rb index 839250ea8..2dc8f5487 100644 --- a/test/t/exception.rb +++ b/test/t/exception.rb @@ -338,10 +338,13 @@ assert('Exception 19') do begin 1 * "b" ensure - @e = self.z + @e = self.zz end end + def zz + true + end def z true end |
