matthiasblaesing commented on PR #7019: URL: https://github.com/apache/netbeans/pull/7019#issuecomment-1919731394
> fascinating. Out of almost 3k `webcommon/javascript2.editor` tests, a single completion test is failing: > > https://github.com/apache/netbeans/blob/805b153827a17d4412062e2397f1f0d094944e78/webcommon/javascript2.editor/test/unit/src/org/netbeans/modules/javascript2/editor/JsCodeCompletionGeneralTest.java#L67-L69 I think that we are seeing a scanning effect here. Even for JS this is bogus: https://github.com/apache/netbeans/blob/805b153827a17d4412062e2397f1f0d094944e78/webcommon/javascript2.editor/test/unit/data/testfiles/completion/issue215777.js#L1-L2 I assume that the indexer picks up the `Math.var` (End of line 1 + beginning of line 2) and reports that. The tested issue deals with the space between `=` and `Math`, so I suggest to split the two cases and this should clear up. Patch (wrapped in ZIP because GH in its infitite wisdom rejects my patch file...) [0001-Stabilize-JS-Test-testIssue215777.zip](https://github.com/apache/netbeans/files/14115839/0001-Stabilize-JS-Test-testIssue215777.zip) I was able to reproduce the problem locally and this fixed it for me. -- 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
