test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java
changeset 50856 1857ca5aca37
parent 50575 72c694f035ee
child 52616 1a395165c09b
--- a/test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java	Wed Jun 27 16:19:28 2018 -0700
+++ b/test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java	Thu Jun 28 01:46:03 2018 +0200
@@ -631,9 +631,9 @@
                 "camelCaseMatcher.test(item.l)",
                 "var secondaryresult = new Array();",
                 "function nestedName(e) {",
-                "function sortAndConcatResults(a1, a2) {",
+                "function concatResults(a1, a2) {",
                 "if (exactMatcher.test(item.l)) {\n"
-                + "                        presult.unshift(item);",
+                + "                        presult.push(item);",
                 "$(\"#search\").on('click keydown', function() {\n"
                 + "        if ($(this).val() == watermark) {\n"
                 + "            $(this).val('').removeClass('watermark');\n"