diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-06-29 21:38:32 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-06-29 21:38:32 +0900 |
| commit | cf6972408335a69f2f6cc007f74c6afd316d0d96 (patch) | |
| tree | 8ff7194029e1661cdbf67aaf950552e9f08a673b /mrbgems/mruby-complex/test | |
| parent | ff5ec824fd31bf28e67b0b984d2596a240686cd2 (diff) | |
| parent | a215292b6ad4315a5a0edef49a1df65e3f27b46a (diff) | |
| download | mruby-cf6972408335a69f2f6cc007f74c6afd316d0d96.tar.gz mruby-cf6972408335a69f2f6cc007f74c6afd316d0d96.zip | |
Merge pull request #4540 from dearblue/assert-nesting
Nested `assert` for mrbtest
Diffstat (limited to 'mrbgems/mruby-complex/test')
| -rw-r--r-- | mrbgems/mruby-complex/test/complex.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mrbgems/mruby-complex/test/complex.rb b/mrbgems/mruby-complex/test/complex.rb index 6996eb214..ab882664e 100644 --- a/mrbgems/mruby-complex/test/complex.rb +++ b/mrbgems/mruby-complex/test/complex.rb @@ -1,6 +1,8 @@ def assert_complex(real, exp) - assert_float real.real, exp.real - assert_float real.imaginary, exp.imaginary + assert do + assert_float real.real, exp.real + assert_float real.imaginary, exp.imaginary + end end assert 'Complex' do |
