diff options
author | Alexandr Opak <opak.alexandr@gmail.com> | 2021-01-29 13:10:46 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-31 19:34:21 +0900 |
commit | beffa72c27c77603ecc15c60518a55bea4aad3de (patch) | |
tree | 010a3bd929bf8097c235454b651d7b344bf0fd83 /test/psych | |
parent | 48b50cb4febc37120a6026dc95a4a868360048eb (diff) | |
download | ruby-beffa72c27c77603ecc15c60518a55bea4aad3de.tar.gz |
[ruby/psych] fix typo
https://github.com/ruby/psych/commit/ebb0cbded1
Diffstat (limited to 'test/psych')
-rw-r--r-- | test/psych/test_scalar_scanner.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/psych/test_scalar_scanner.rb b/test/psych/test_scalar_scanner.rb index e489b20a0f..f43d0f1413 100644 --- a/test/psych/test_scalar_scanner.rb +++ b/test/psych/test_scalar_scanner.rb @@ -130,8 +130,8 @@ module Psych assert_equal 123_456_789, ss.tokenize('1_2,3,4_5,6_789') assert_equal 1, ss.tokenize('1') - assert_equal 1 ss.tokenize('+1') - assert_equal -1 ss.tokenize('-1') + assert_equal 1, ss.tokenize('+1') + assert_equal -1, ss.tokenize('-1') assert_equal 0b010101010, ss.tokenize('0b010101010') assert_equal 0b010101010, ss.tokenize('0b0,1_0,1_,0,1_01,0') |