mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
test for #1168
This commit is contained in:
parent
96b22a16eb
commit
dc8e955c4f
1 changed files with 5 additions and 0 deletions
|
@ -37,3 +37,8 @@ eq Number::toString, .42['toString']
|
|||
|
||||
eq Number::toString, 4.2.toString
|
||||
eq Number::toString, .42.toString
|
||||
|
||||
test '#1168: leading floating point suppresses newline', ->
|
||||
eq 1, do ->
|
||||
1
|
||||
.5 + 0.5
|
||||
|
|
Loading…
Reference in a new issue