forked from loafle/openapi-generator-original
Fixes #771: Unit test has been fixed after merge.
This commit is contained in:
@@ -42,17 +42,17 @@ class ExampleGeneratorTest extends FlatSpec with Matchers {
|
||||
item.get("contentType") match {
|
||||
case `xml` => {
|
||||
types += xml
|
||||
example should be ("<Pair>\\n" +
|
||||
" <Node>\\n" +
|
||||
" <name>string</name>\\n" +
|
||||
" <wrappedChildren>\\n" +
|
||||
" </wrappedChildren>\\n" +
|
||||
" </Node>\\n" +
|
||||
" <Node>\\n" +
|
||||
" <name>string</name>\\n" +
|
||||
" <wrappedChildren>\\n" +
|
||||
" </wrappedChildren>\\n" +
|
||||
" </Node>\\n" +
|
||||
example should be ("<Pair>\n" +
|
||||
" <Node>\n" +
|
||||
" <name>string</name>\n" +
|
||||
" <wrappedChildren>\n" +
|
||||
" </wrappedChildren>\n" +
|
||||
" </Node>\n" +
|
||||
" <Node>\n" +
|
||||
" <name>string</name>\n" +
|
||||
" <wrappedChildren>\n" +
|
||||
" </wrappedChildren>\n" +
|
||||
" </Node>\n" +
|
||||
"</Pair>")
|
||||
}
|
||||
case `json` => {
|
||||
|
||||
Reference in New Issue
Block a user