branch: externals/javaimp
commit c1cee724fb8ff93a1a3cafb283017504e2e4efd1
Author: Filipp Gunbin <[email protected]>
Commit: Filipp Gunbin <[email protected]>
Fix javaimp-test--parse-scope-anon-class
---
javaimp-tests.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/javaimp-tests.el b/javaimp-tests.el
index e7dc31314b..a895fc6658 100644
--- a/javaimp-tests.el
+++ b/javaimp-tests.el
@@ -105,15 +105,15 @@ extends Bar<? extends Baz<? extends Baz2>> {"
(ert-deftest javaimp-test--parse-scope-anon-class ()
(javaimp-test--single-parser #'javaimp--parse-scope-anon-class
'(" = new Object < Class1 , Class2 > ( 1 + 1 , baz ) {"
- anon-class "Object")
+ anon-class "<anon>Object")
`(,(subst-char-in-string
? ?\n
" = new Object < Class1 , Class2 > ( 1 + 1 , baz ) {")
- anon-class "Object")
+ anon-class "<anon>Object")
'(" = (obj.getField()).new Object<Class1, Class2>(1, baz) {"
- anon-class "Object")
+ anon-class "<anon>Object")
'(" = obj.new Object<>(1, baz) {"
- anon-class "Object")
+ anon-class "<anon>Object")
))
(ert-deftest javaimp-test--parse-scope-method-or-stmt ()