diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-06-28 20:08:52 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-06-28 20:08:52 +0900 |
| commit | 4f4e240024f4e1980a64bc13bcc7fbf518533cbb (patch) | |
| tree | 25a4691a0440688b659f425b3c1157fa7269e0e4 /test | |
| parent | cf7a2292f345be5e8988fa532b85ac40b27c7cab (diff) | |
| parent | bc3176da630e3e055d58aa065ff897aec66df280 (diff) | |
| download | mruby-4f4e240024f4e1980a64bc13bcc7fbf518533cbb.tar.gz mruby-4f4e240024f4e1980a64bc13bcc7fbf518533cbb.zip | |
Merge pull request #4538 from shuujii/use-__ENCODING__-in-tests
Use `__ENCODING__` in tests
Diffstat (limited to 'test')
| -rw-r--r-- | test/t/string.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/string.rb b/test/t/string.rb index 7ef236dbe..81699f17e 100644 --- a/test/t/string.rb +++ b/test/t/string.rb @@ -2,7 +2,7 @@ ## # String ISO Test -UTF8STRING = ("\343\201\202".size == 1) +UTF8STRING = __ENCODING__ == "UTF-8" assert('String', '15.2.10') do assert_equal Class, String.class |
