mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
One test; viz., for binary literal.
This commit is contained in:
@@ -14,9 +14,7 @@
|
||||
# Binary notation is understood as would be decimal notation.
|
||||
|
||||
test "Parser recognises binary numbers", ->
|
||||
eq 4, 0b100.valueOf()
|
||||
eq '11', 0b100.toString 3
|
||||
eq '100', 0b100['toString'] 2
|
||||
eq 4, 0b100
|
||||
|
||||
# Decimal Integer Literals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user