diff --git a/test/test_comprehensions.coffee b/test/test_comprehensions.coffee index 2a89f459..2195f6d1 100644 --- a/test/test_comprehensions.coffee +++ b/test/test_comprehensions.coffee @@ -146,7 +146,7 @@ ok expr(2, 4, 8).join(' ') is '4 16 64' # Fast object comprehensions over all properties, including prototypal ones. class Cat - constructor: -> @name = 'Whiskers' + -> @name = 'Whiskers' breed: 'tabby' hair: 'cream' diff --git a/test/test_existence.coffee b/test/test_existence.coffee index 8c8e2bb7..6ba016a3 100644 --- a/test/test_existence.coffee +++ b/test/test_existence.coffee @@ -81,7 +81,7 @@ eq ident(non?.existent().method()), undefined, 'soaks inner values' # Soaks constructor invocations. a = 0 class Foo - constructor: -> a += 1 + -> a += 1 bar: "bat" ok (new Foo())?.bar is 'bat'