diff options
author | Nobuyoshi Nakada <[email protected]> | 2019-06-30 09:40:55 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2019-06-30 11:45:38 +0900 |
commit | 44eca1b22f96a3140d11d95f89948cbdae08daee (patch) | |
tree | 52d318581127791ef3b7cae5cd3f95fc0593bfdc /test/ruby/test_parse.rb | |
parent | ad3820886b8bd13bb6dbb784ba999b26ac65461c (diff) |
Reset the result between assertions
Diffstat (limited to 'test/ruby/test_parse.rb')
-rw-r--r-- | test/ruby/test_parse.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb index 287c8358a0..4a0c296a84 100644 --- a/test/ruby/test_parse.rb +++ b/test/ruby/test_parse.rb @@ -1149,6 +1149,7 @@ x = __ENCODING__ end o.instance_eval {i (-1.3).abs} assert_equal(1.3, o.x) + o.i(nil) o.instance_eval {i = 0; i (-1.3).abs; i} assert_equal(1.3, o.x) end |