@@ -6,6 +6,7 @@ import org.junit.Assert._
6
6
7
7
import dotc .core .Contexts .{ Context , ContextBase , FreshContext }
8
8
import dotc .core .Comments .{ ContextDoc , ContextDocstrings }
9
+ import java .io .{ File => JFile }
9
10
import dottydoc .core .ContextDottydoc
10
11
11
12
class MarkdownTests extends DottyDocTest {
@@ -22,7 +23,7 @@ class MarkdownTests extends DottyDocTest {
22
23
ctx.setProperty(ContextDoc , new ContextDottydoc )
23
24
ctx.setSetting(
24
25
ctx.settings.classpath,
25
- " ../library/target/scala-2.11/ dotty-library_2.11-0.1-SNAPSHOT.jar "
26
+ dotty. Jars .dottyLib
26
27
)
27
28
base.initialize()(ctx)
28
29
ctx
@@ -122,9 +123,9 @@ class MarkdownTests extends DottyDocTest {
122
123
|package scala
123
124
|
124
125
|/** - Item1
125
- | * - Item2
126
- | * - Item3
127
- | */
126
+ | * - Item2
127
+ | * - Item3
128
+ | */
128
129
|trait HelloWorld
129
130
|
130
131
|trait None
@@ -153,11 +154,11 @@ class MarkdownTests extends DottyDocTest {
153
154
|package scala
154
155
|
155
156
|/** - Item1
156
- | * - Item1a
157
- | * - Item1b
158
- | * - Item2
159
- | * - Item3
160
- | */
157
+ | * - Item1a
158
+ | * - Item1b
159
+ | * - Item2
160
+ | * - Item3
161
+ | */
161
162
|trait HelloWorld
162
163
|
163
164
|trait None
@@ -191,9 +192,9 @@ class MarkdownTests extends DottyDocTest {
191
192
|package scala
192
193
|
193
194
|/** ```scala
194
- | * val x = 1 + 5
195
- | * ```
196
- | */
195
+ | * val x = 1 + 5
196
+ | * ```
197
+ | */
197
198
|trait HelloWorld
198
199
|
199
200
|trait None
@@ -250,12 +251,12 @@ class MarkdownTests extends DottyDocTest {
250
251
|package scala
251
252
|
252
253
|/** This
253
- | * ====
254
- | * is a short text [that](http://google.com) should not be more than a
255
- | * `few` lines long. This text *should* be shortened somewhere that is
256
- | * appropriate for the **ui**. Might be here, or there or somewhere
257
- | * else.
258
- | */
254
+ | * ====
255
+ | * is a short text [that](http://google.com) should not be more than a
256
+ | * `few` lines long. This text *should* be shortened somewhere that is
257
+ | * appropriate for the **ui**. Might be here, or there or somewhere
258
+ | * else.
259
+ | */
259
260
|trait HelloWorld
260
261
""" .stripMargin
261
262
@@ -282,10 +283,10 @@ class MarkdownTests extends DottyDocTest {
282
283
|package scala
283
284
|
284
285
|/** This
285
- | * ====
286
- | * should quit before ,
287
- | * I shouldn't be visible.
288
- | */
286
+ | * ====
287
+ | * should quit before ,
288
+ | * I shouldn't be visible.
289
+ | */
289
290
|trait HelloWorld
290
291
""" .stripMargin
291
292
0 commit comments