summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexandr Opak <opak.alexandr@gmail.com>2021-01-29 13:10:46 +0100
committerAlexandr Opak <opak.alexandr@gmail.com>2021-01-29 13:10:46 +0100
commitebb0cbded12f12670a870998151fba3c099fc997 (patch)
tree5b5cb56e6c8fffc541138ed05ac7d3f330aa1bcc /test
parente0bb853014a7b11477e8e0693b4375cbeed4b364 (diff)
downloadpsych-ebb0cbded12f12670a870998151fba3c099fc997.tar.gz
fix typo
Diffstat (limited to 'test')
-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 f56b45b..c17fd17 100644
--- a/test/psych/test_scalar_scanner.rb
+++ b/test/psych/test_scalar_scanner.rb
@@ -126,8 +126,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')