1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/test/test_compilation.coffee

9 lines
226 B
CoffeeScript
Raw Normal View History

# Ensure that carriage returns don't break compilation on Windows.
2010-05-01 11:00:43 -04:00
CoffeeScript: require('./../lib/coffee-script')
Lexer: require('./../lib/lexer')
js: CoffeeScript.compile("one\r\ntwo", {noWrap: on})
ok js is "one;\ntwo;"