Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
OpakAlex committed Jan 29, 2021
1 parent e0bb853 commit ebb0cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/psych/test_scalar_scanner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ def test_scan_int_commas_and_underscores
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')
Expand Down

0 comments on commit ebb0cbd

Please sign in to comment.