commit | 1a0fd5de8f7488b55f38d02db6095dfa78214e6d | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Mon Mar 12 21:34:42 2012 -0700 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Mon Mar 12 21:34:42 2012 -0700 |
tree | 0d1344575da74274cb8211f28489457dd6c267bd | |
parent | 0030400cdf12f5b86a2f0dd25982e3a145e7655b [diff] |
format output in test
diff --git a/test/test_app_socket.cc b/test/test_app_socket.cc index c64cc6b..17cbee1 100644 --- a/test/test_app_socket.cc +++ b/test/test_app_socket.cc
@@ -44,13 +44,14 @@ string toString(){ map<string, string>::iterator it = data.begin(); - string str = ""; + string str = "\n"; for (; it != data.end(); ++it){ str += "<"; str += it->first; str += "|"; str += it->second; str += ">"; + str += "\n"; } return str; }