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

Updating test.html

This commit is contained in:
Jeremy Ashkenas 2010-12-22 17:10:21 -08:00
parent a2f9f9320b
commit cdf298bafb

View file

@ -43,7 +43,7 @@
@eq = (x, y, msg) -> ok x is y, msg ? x + ' !== ' + y
arrayEq = (a, b) ->
window.arrayEq = (a, b) ->
if a is b
# 0 isnt -0
a isnt 0 or 1/a is 1/b
@ -55,6 +55,10 @@
# NaN is NaN
a isnt a and b isnt b
window.doesNotThrow = (fn) ->
fn()
ok true
@arrayEqual = (a, b, msg) -> ok arrayEq(a,b), msg
@throws = (fun, err, msg) ->
@ -95,10 +99,10 @@
'test_existence'
'test_functions'
'test_heredocs'
'test_if'
'conditionals'
'test_literals'
'test_pattern_matching'
'test_ranges_slices_and_splices'
'ranges_slices_and_splices'
'test_returns'
'test_splats'
'test_strings'