jashkenas--coffeescript/test/literate.litcoffee

49 lines
723 B
Plaintext
Raw Normal View History

2012-09-26 00:37:54 +00:00
Literate CoffeeScript Test
--------------------------
2012-09-26 00:35:02 +00:00
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.
###
2012-09-26 00:37:54 +00:00
ok yes
Regular [Markdown](http://example.com/markdown) features, like links
and unordered lists, are fine:
* I
* Am
* A
2013-01-09 21:23:14 +00:00
* List
Tabs work too:
test "tabbed code", ->
ok yes