instanceof test
svn: r1317
This commit is contained in:
parent
d79eea8f37
commit
e27d64ed8d
|
@ -242,6 +242,14 @@
|
||||||
}"
|
}"
|
||||||
'intermediate #f "Abstract method implemented, class subclassed")
|
'intermediate #f "Abstract method implemented, class subclassed")
|
||||||
|
|
||||||
|
(execute-test
|
||||||
|
"class X {
|
||||||
|
boolean equals( Object o ) {
|
||||||
|
return o instanceof X;
|
||||||
|
}
|
||||||
|
}"
|
||||||
|
'intermediate #f "Correct instanceof usage")
|
||||||
|
|
||||||
;;Execute tests with errors
|
;;Execute tests with errors
|
||||||
|
|
||||||
(execute-test
|
(execute-test
|
||||||
|
|
Loading…
Reference in New Issue
Block a user