diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-07-19 21:34:25 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-07-19 21:48:06 +0900 |
| commit | 8ab846b5b92dcbe7c9ad927af99e6f06143b18af (patch) | |
| tree | cac594227a54aef91175e5203fbe3ac18fc59805 /mrbgems/mruby-string-ext/test/fixnum.rb | |
| parent | 7e229c470ae7aa2187b0fe9d3b66ac20943cd2b8 (diff) | |
| download | mruby-8ab846b5b92dcbe7c9ad927af99e6f06143b18af.tar.gz mruby-8ab846b5b92dcbe7c9ad927af99e6f06143b18af.zip | |
Refine `String#chr` test and separate `Fixnum#chr` test
Diffstat (limited to 'mrbgems/mruby-string-ext/test/fixnum.rb')
| -rw-r--r-- | mrbgems/mruby-string-ext/test/fixnum.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mrbgems/mruby-string-ext/test/fixnum.rb b/mrbgems/mruby-string-ext/test/fixnum.rb new file mode 100644 index 000000000..9036b1a06 --- /dev/null +++ b/mrbgems/mruby-string-ext/test/fixnum.rb @@ -0,0 +1,3 @@ +assert('Fixnum#chr') do + assert_equal "a", 97.chr +end |
