mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
48b50cb4fe
commit
beffa72c27
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue