OpenJDK / jdk / hs
changeset 44814:d008ab12a00a
8178481: jdk/jshell/CompletionSuggestionTest.java routinely fails
Summary: Depending on the test order, the completion after 'import c<tab>' may include additional entries besides 'com', only checking 'com' is present.
Reviewed-by: rfield
author | jlahoda |
---|---|
date | Thu, 20 Apr 2017 13:43:03 +0200 |
parents | eac0b6c86a43 |
children | 2a0f6c7033bd |
files | langtools/test/jdk/jshell/CompletionSuggestionTest.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/langtools/test/jdk/jshell/CompletionSuggestionTest.java Wed Apr 19 10:26:48 2017 -0700 +++ b/langtools/test/jdk/jshell/CompletionSuggestionTest.java Thu Apr 20 13:43:03 2017 +0200 @@ -296,7 +296,7 @@ } public void testImportStart() { - assertCompletion("import c|", "com"); + assertCompletionIncludesExcludes("import c|", Set.of("com"), Set.of()); } public void testBrokenClassFile() throws Exception {