removed ruby tests, and started the process of converting the CoffeeScript tests over to use Node's assert() module

This commit is contained in:
Jeremy Ashkenas
2010-02-16 19:38:52 -05:00
parent 448ed36cd2
commit b41afe79b4
38 changed files with 90 additions and 355 deletions

46
test/test_heredocs.coffee Normal file
View File

@@ -0,0 +1,46 @@
a: """
basic heredoc
on two lines
"""
puts a is "basic heredoc\non two lines"
a: '''
a
"b
c
'''
puts a is "a\n \"b\nc"
a: '''one-liner'''
puts a is 'one-liner'
a: """
out
here
"""
puts a is "out\nhere"
a: '''
a
b
c
'''
puts a is " a\n b\nc"
a: '''
a
b c
'''
puts a is "a\n\n\nb c"