test/langtools/jdk/javadoc/doclet/testOverview/TestOverview.java
changeset 51797 3efead10e303
parent 50293 edfb87b2520e
child 53097 2e82ca64b25d
--- a/test/langtools/jdk/javadoc/doclet/testOverview/TestOverview.java	Tue Sep 18 21:46:17 2018 -0700
+++ b/test/langtools/jdk/javadoc/doclet/testOverview/TestOverview.java	Wed Sep 19 12:14:53 2018 +0530
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 8173302 8182765 8196202
+ * @bug 8173302 8182765 8196202 8210047
  * @summary make sure the overview-summary and module-summary pages don't
  *          don't have the See link, and the overview is copied correctly.
  * @library ../lib
@@ -95,10 +95,10 @@
 
     void checkOverview() {
         checkOutput("overview-summary.html", true,
-                "<div class=\"header\">\n"
+                "<main role=\"main\">\n"
+                + "<div class=\"header\">\n"
                 + "<h1 class=\"title\">Document Title</h1>\n"
                 + "</div>\n"
-                + "<main role=\"main\">\n"
                 + "<div class=\"contentContainer\">\n"
                 + "<div class=\"block\">This is line1. This is line 2.</div>\n"
                 + "</div>\n"