diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-06-16 09:15:07 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-16 09:15:07 +0900 |
| commit | 2341e4f5e59bd69aef02a048176d3228cddc293f (patch) | |
| tree | 99253982cd7b6f8b5bb7ce4672c0327a2465fcb5 /test/t | |
| parent | 651c234f9c7097b6a2515f812a782af13b4b67d8 (diff) | |
| parent | dab5502e8a16d34d29adee6f7f9cb4f4ae0dfd68 (diff) | |
| download | mruby-2341e4f5e59bd69aef02a048176d3228cddc293f.tar.gz mruby-2341e4f5e59bd69aef02a048176d3228cddc293f.zip | |
Merge pull request #5445 from jbampton/add-codespell-pre-commit-hook
Run pre-commit with GitHub Actions
Diffstat (limited to 'test/t')
| -rw-r--r-- | test/t/unicode.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/t/unicode.rb b/test/t/unicode.rb index 8622ae08a..c8602da5a 100644 --- a/test/t/unicode.rb +++ b/test/t/unicode.rb @@ -1,15 +1,15 @@ # Test of the \u notation assert('bare \u notation test') do - # Mininum and maximum one byte characters + # Minimum and maximum one byte characters assert_equal("\x00", "\u0000") assert_equal("\x7F", "\u007F") - # Mininum and maximum two byte characters + # Minimum and maximum two byte characters assert_equal("\xC2\x80", "\u0080") assert_equal("\xDF\xBF", "\u07FF") - # Mininum and maximum three byte characters + # Minimum and maximum three byte characters assert_equal("\xE0\xA0\x80", "\u0800") assert_equal("\xEF\xBF\xBF", "\uFFFF") @@ -17,19 +17,19 @@ assert('bare \u notation test') do end assert('braced \u notation test') do - # Mininum and maximum one byte characters + # Minimum and maximum one byte characters assert_equal("\x00", "\u{0000}") assert_equal("\x7F", "\u{007F}") - # Mininum and maximum two byte characters + # Minimum and maximum two byte characters assert_equal("\xC2\x80", "\u{0080}") assert_equal("\xDF\xBF", "\u{07FF}") - # Mininum and maximum three byte characters + # Minimum and maximum three byte characters assert_equal("\xE0\xA0\x80", "\u{0800}") assert_equal("\xEF\xBF\xBF", "\u{FFFF}") - # Mininum and maximum four byte characters + # Minimum and maximum four byte characters assert_equal("\xF0\x90\x80\x80", "\u{10000}") assert_equal("\xF4\x8F\xBF\xBF", "\u{10FFFF}") end |
