mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Parse float tokens
This commit is contained in:
@@ -26,6 +26,7 @@ class TestTokenizer < Test::Unit::TestCase
|
||||
assert_equal %w(+), tokenize('1 + 1')
|
||||
assert_equal %w(add \( \)), tokenize('add(123, 456)')
|
||||
assert_equal %w(|), tokenize('0x01 | 0x10')
|
||||
assert_equal %w(*), tokenize('500.42 * 1.0')
|
||||
end
|
||||
|
||||
def test_skip_comments
|
||||
|
||||
Reference in New Issue
Block a user