summaryrefslogtreecommitdiff
path: root/test/psych/test_scalar_scanner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/test_scalar_scanner.rb')
-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')