1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00

96.5% coverage

This commit is contained in:
stleary 2015-04-03 14:46:51 -05:00
parent 970e7a45a9
commit f7b51414b8

View file

@ -60,8 +60,7 @@ public class CookieListTest {
"{\"path\":\"/\","+ "{\"path\":\"/\","+
"\"expires\":\"Wed, 19-Mar-2014 17:53:53 GMT\","+ "\"expires\":\"Wed, 19-Mar-2014 17:53:53 GMT\","+
"\"domain\":\".yahoo.com\","+ "\"domain\":\".yahoo.com\","+
"\"name\":\"PH\","+ "\"PH\":\"deleted\"}";
"\"value\":\"deleted\"}";
JSONObject jsonObject = CookieList.toJSONObject(cookieStr); JSONObject jsonObject = CookieList.toJSONObject(cookieStr);
JSONObject expectedJsonObject = new JSONObject(expectedCookieStr); JSONObject expectedJsonObject = new JSONObject(expectedCookieStr);
Util.compareActualVsExpectedJsonObjects(jsonObject,expectedJsonObject); Util.compareActualVsExpectedJsonObjects(jsonObject,expectedJsonObject);