aboutsummaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorKanagaraj M <mkr1481@gmail.com>2019-08-29 18:07:57 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-09-03 15:04:50 +0530
commitd0ec40f6ac2a5b5e253b262baba58676216d9544 (patch)
treeb3ed941d56a51aed637454ad5cf13e1f14725cb6 /framework
parent57293a92fc535cdc5fea62fd58fa83f7159fcdc9 (diff)
Revert the command name change
Issue-ID: CLI-166 Change-Id: Ie933c02c74b02420745870716e756299020a849f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
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());
}
}