diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-07-22 21:40:02 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-22 21:40:02 +0900 |
| commit | 5166e316efc9bd211b3d950d3586a45b22a5f9d5 (patch) | |
| tree | ea96b0f65909b42113851ded0647bc4586b22a8a /mrbgems/mruby-numeric-ext/test | |
| parent | d2dd2d0e4874ac2522f12b1599842e6cc666088d (diff) | |
| parent | c980fe279266448cf5ac8faa646d57d0f8561b10 (diff) | |
| download | mruby-5166e316efc9bd211b3d950d3586a45b22a5f9d5.tar.gz mruby-5166e316efc9bd211b3d950d3586a45b22a5f9d5.zip | |
Merge pull request #4591 from shuujii/integrate-Integral-chr-Fixnum-chr-to-mruby-string-ext
Integrate `Integral#chr` (`Fixnum#chr`) to `mruby-string-ext`
Diffstat (limited to 'mrbgems/mruby-numeric-ext/test')
| -rw-r--r-- | mrbgems/mruby-numeric-ext/test/numeric.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mrbgems/mruby-numeric-ext/test/numeric.rb b/mrbgems/mruby-numeric-ext/test/numeric.rb index c85cb61f2..efdf25a34 100644 --- a/mrbgems/mruby-numeric-ext/test/numeric.rb +++ b/mrbgems/mruby-numeric-ext/test/numeric.rb @@ -1,14 +1,6 @@ ## # Numeric(Ext) Test -assert('Integer#chr') do - assert_equal("A", 65.chr) - assert_equal("B", 0x42.chr) - - # multibyte encoding (not support yet) - assert_raise(RangeError) { 256.chr } -end - assert('Integer#div') do assert_equal 52, 365.div(7) end |
