more spec

This commit is contained in:
leaf corcoran 2015-12-06 12:03:19 -08:00
parent 232bad8fc3
commit caa724d098

View File

@ -285,6 +285,13 @@ describe "class", ->
super! + 100
}
class OtherSub extends Base
value: if true
=> 5 + super!
else
=> 2 + super!
assert.same 1 + 100 + 12, Sub!\value!
assert.same 6, OtherSub!\value!