summaryrefslogtreecommitdiff
path: root/test/psych
diff options
context:
space:
mode:
authorAlexandr Opak <opak.alexandr@gmail.com>2021-01-29 13:10:46 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-08-31 19:34:21 +0900
commitbeffa72c27c77603ecc15c60518a55bea4aad3de (patch)
tree010a3bd929bf8097c235454b651d7b344bf0fd83 /test/psych
parent48b50cb4febc37120a6026dc95a4a868360048eb (diff)
downloadruby-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.rb4
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')