Update async test to use new `super` syntax
This commit is contained in:
parent
da3db1be39
commit
81cbca5bb8
|
@ -203,8 +203,8 @@ test "async methods in classes", ->
|
|||
eq await new Base().method(), 2
|
||||
|
||||
class Child extends Base
|
||||
@static: -> super
|
||||
method: -> super
|
||||
@static: -> super()
|
||||
method: -> super()
|
||||
|
||||
eq await Child.static(), 1
|
||||
eq await new Child().method(), 2
|
||||
|
|
Loading…
Reference in New Issue