mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
48 lines
723 B
Text
48 lines
723 B
Text
Literate CoffeeScript Test
|
|
--------------------------
|
|
|
|
comment comment
|
|
|
|
test "basic literate CoffeeScript parsing", ->
|
|
ok yes
|
|
|
|
now with a...
|
|
|
|
test "broken up indentation", ->
|
|
|
|
... broken up ...
|
|
|
|
do ->
|
|
|
|
... nested block.
|
|
|
|
ok yes
|
|
|
|
Code in `backticks is not parsed` and...
|
|
|
|
test "comments in indented blocks work", ->
|
|
do ->
|
|
do ->
|
|
# Regular comment.
|
|
|
|
###
|
|
Block comment.
|
|
###
|
|
|
|
ok yes
|
|
|
|
Regular [Markdown](http://example.com/markdown) features, like links
|
|
and unordered lists, are fine:
|
|
|
|
* I
|
|
|
|
* Am
|
|
|
|
* A
|
|
|
|
* List
|
|
|
|
Tabs work too:
|
|
|
|
test "tabbed code", ->
|
|
ok yes
|