File tree 1 file changed +2
-4
lines changed
scaladoc/test/dotty/tools/scaladoc/site
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,9 @@ class SidebarParserTest:
38
38
| - page: my-page6/my-page6/my-page6.md
39
39
""" .stripMargin
40
40
41
- private val sidebarNoTitle =
41
+ private val sidebarErrorNoTitle =
42
42
""" index: index.md
43
43
|subsection:
44
- | - title: My title
45
44
| page: my-page1.md
46
45
| - page: my-page2.md
47
46
| - page: my-page3/subsection
@@ -122,7 +121,6 @@ class SidebarParserTest:
122
121
Console .withErr(new PrintStream (out)) {
123
122
Sidebar .load(sidebarErrorNoPage)(using testContext)
124
123
}
125
- println(out.toString())
126
124
val error = out.toString().trim()
127
125
128
126
assert(error.contains(msgNoPage) && error.contains(schemaMessage))
@@ -132,7 +130,7 @@ class SidebarParserTest:
132
130
def loadSidebarNoTitleError (): Unit =
133
131
val out = new ByteArrayOutputStream ()
134
132
Console .withErr(new PrintStream (out)) {
135
- Sidebar .load(sidebarNoTitle )(using testContext)
133
+ Sidebar .load(sidebarErrorNoTitle )(using testContext)
136
134
}
137
135
val error = out.toString().trim()
138
136
You can’t perform that action at this time.
0 commit comments