Fixup test referring to description statement 02/68902/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 6 Feb 2018 18:25:32 +0000 (19:25 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 28 Feb 2018 17:40:37 +0000 (18:40 +0100)
This was broken by yangtools properly processing whitespace,
which retains the newline.

Change-Id: I5796275a80bc1989061fd745270d51a4a37f97bd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/config/yang-jmx-generator/src/test/java/org/opendaylight/controller/config/yangjmxgenerator/ServiceInterfaceEntryTest.java

index f021c2c81d3ece5f960ca82d6571e65180606752..3b9823ebee3366f5bdaa94b8288941515917d52a 100644 (file)
@@ -123,7 +123,7 @@ public class ServiceInterfaceEntryTest extends AbstractYangTest {
                 is(PackageTranslatorTest.EXPECTED_PACKAGE_PREFIX
                         + ".threadpool.ThreadPool"));
 
-        String expectedDescription = "An extension of the simple pool of threads able to schedule "
+        String expectedDescription = "An extension of the simple pool of threads able to schedule\n"
                 + "work to be executed at some point in time.";
         assertThat(trimInnerSpacesOrNull(scheduled.getNullableDescription()),
                 is(expectedDescription));