From: Robert Varga Date: Tue, 6 Feb 2018 18:25:32 +0000 (+0100) Subject: Fixup test referring to description statement X-Git-Tag: release/carbon-sr4~7 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F68902%2F1;p=controller.git Fixup test referring to description statement This was broken by yangtools properly processing whitespace, which retains the newline. Change-Id: I5796275a80bc1989061fd745270d51a4a37f97bd Signed-off-by: Robert Varga --- diff --git a/opendaylight/config/yang-jmx-generator/src/test/java/org/opendaylight/controller/config/yangjmxgenerator/ServiceInterfaceEntryTest.java b/opendaylight/config/yang-jmx-generator/src/test/java/org/opendaylight/controller/config/yangjmxgenerator/ServiceInterfaceEntryTest.java index f021c2c81d..3b9823ebee 100644 --- a/opendaylight/config/yang-jmx-generator/src/test/java/org/opendaylight/controller/config/yangjmxgenerator/ServiceInterfaceEntryTest.java +++ b/opendaylight/config/yang-jmx-generator/src/test/java/org/opendaylight/controller/config/yangjmxgenerator/ServiceInterfaceEntryTest.java @@ -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));