diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-05-09 11:43:34 +0000 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-05-09 11:43:34 +0000 |
commit | 1fe45f8292b6ff00d394fa6530e00cba1664f1ae (patch) | |
tree | 912b212caa74e01f36dcf9d1d99db9ebc0b599dc /profiles/http/src/test | |
parent | c89f9145b44e5b9823b0a41f2c7968cfebf48a10 (diff) |
Fix assertion in http inputoutput test
Issue-ID: CLI-100
Change-Id: I32dce5365f2fdf30a064cbf9bd4fa917b062f0dc
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'profiles/http/src/test')
-rw-r--r-- | profiles/http/src/test/java/org/onap/cli/fw/http/HttpInputOutputTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/profiles/http/src/test/java/org/onap/cli/fw/http/HttpInputOutputTest.java b/profiles/http/src/test/java/org/onap/cli/fw/http/HttpInputOutputTest.java index 7a7a31c7..597a3280 100644 --- a/profiles/http/src/test/java/org/onap/cli/fw/http/HttpInputOutputTest.java +++ b/profiles/http/src/test/java/org/onap/cli/fw/http/HttpInputOutputTest.java @@ -43,9 +43,9 @@ public class HttpInputOutputTest { inp.setReqHeaders(new HashMap<String, String>()); inp.setReqQueries(new HashMap<String, String>()); - assertTrue( - "\nURL: uri\nMethod: method\nRequest Queries: {}\nRequest Body: body\nRequest Headers: {}\nRequest Cookies: {}\nbinaryData=false\nContext={}" - .equals(inp.toString())); + String msg = "\nURL: uri\nMethod: method\nRequest Queries: {}\nRequest Body: body\nRequest Headers: " + + "{}\nRequest Cookies: {}\nbinaryData=false\nContext={}"; + assertTrue(msg.equals(inp.toString())); } @Test |