test: Fix some tests so they fail on expected error, not on syntax error. (#779)

This commit is contained in:
Michel Hermier
2020-07-15 05:14:08 +02:00
committed by GitHub
parent 58611240e7
commit 54b4c233b9
7 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
class Foo {
this [value] { // expect error
construct [value] { // expect error
System.print("ok")
}
}