TylerDelRosario commented on code in PR #8500:
URL: https://github.com/apache/netbeans/pull/8500#discussion_r2121946455
##########
java/java.editor/test/unit/src/org/netbeans/modules/editor/java/JavaBracesMatcherTest.java:
##########
@@ -49,6 +49,13 @@ public void testMultilineStringBrackets() throws Exception {
+ "^)\n"
+ "\"\"\"");
}
+
+ public void testAngleBrackets() throws Exception {
+ assertMatches2("^<test^>");
+ assertMatches2("Map^<Class<? extends AbstractStudent>,
Map<CourseTime, List<? extends AbstractCourse>>^>");
+ assertMatches2("Map<Class<? extends AbstractStudent>,
Map^<CourseTime, List<? extends AbstractCourse>^>>");
+ assertMatches2("Map x = new HashMap<String, List^<String^>>()");
+ }
Review Comment:
Yeah, there needs to be some way to differentiate generic brackets from
comparison/operator brackets.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists