Skip to content

Commit a590239

Browse files
committed
Fixes #771: Unit test has been fixed after merge.
1 parent 0c3f7a5 commit a590239

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

modules/swagger-codegen/src/test/scala/ExampleGeneratorTest.scala

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@ class ExampleGeneratorTest extends FlatSpec with Matchers {
4242
item.get("contentType") match {
4343
case `xml` => {
4444
types += xml
45-
example should be ("<Pair>\\n" +
46-
" <Node>\\n" +
47-
" <name>string</name>\\n" +
48-
" <wrappedChildren>\\n" +
49-
" </wrappedChildren>\\n" +
50-
" </Node>\\n" +
51-
" <Node>\\n" +
52-
" <name>string</name>\\n" +
53-
" <wrappedChildren>\\n" +
54-
" </wrappedChildren>\\n" +
55-
" </Node>\\n" +
45+
example should be ("<Pair>\n" +
46+
" <Node>\n" +
47+
" <name>string</name>\n" +
48+
" <wrappedChildren>\n" +
49+
" </wrappedChildren>\n" +
50+
" </Node>\n" +
51+
" <Node>\n" +
52+
" <name>string</name>\n" +
53+
" <wrappedChildren>\n" +
54+
" </wrappedChildren>\n" +
55+
" </Node>\n" +
5656
"</Pair>")
5757
}
5858
case `json` => {

0 commit comments

Comments
 (0)