summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/src/test/java/org/onap/cli/fw/utils/ProcessRunnerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/test/java/org/onap/cli/fw/utils/ProcessRunnerTest.java b/framework/src/test/java/org/onap/cli/fw/utils/ProcessRunnerTest.java
index 2e5b2ab9..6d7ebbf9 100644
--- a/framework/src/test/java/org/onap/cli/fw/utils/ProcessRunnerTest.java
+++ b/framework/src/test/java/org/onap/cli/fw/utils/ProcessRunnerTest.java
@@ -39,7 +39,7 @@ public class ProcessRunnerTest {
public void testStreamToString() throws IOException {
InputStream stubInputStream = IOUtils.toInputStream("Test stream", "UTF-8");
String out = processRunner.streamToString(stubInputStream);
- Assert.assertEquals("Test stream\n", out);
+ Assert.assertEquals("Test stream", out.trim());
}
}