Skip to content

Commit

Permalink
Merge pull request #18 from ably/expected-value-proposal-update
Browse files Browse the repository at this point in the history
Expected value proposal update
  • Loading branch information
paddybyers authored Aug 9, 2016
2 parents e8bfe6a + 5511462 commit 5387d3c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test-resources/messages-encoding.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@
"expectedValue": "{\"foo\":42}"
},
{
"data": "{\"foo\":42}",
"data": "{\"foo\":42,\"bar\":[\"a\",1.2,{\"boo\":\"ha\"}]}",
"encoding": "json",
"expectedType": "object",
"expectedValue": {"foo":42}
"expectedType": "jsonObject",
"expectedValue": {"foo":42, "bar":["a", 1.2, {"boo":"ha"}]}
},
{
"data": "[{\"foo\":42},\"qux\"]",
"encoding": "json",
"expectedType": "array",
"expectedType": "jsonArray",
"expectedValue": [{"foo":42}, "qux"]
},
{
"data": "3q2+7w==",
"encoding": "base64",
"expectedType": "binary",
"expectedValue": "deadbeef"
"expectedHexValue": "deadbeef"
}
]
}

0 comments on commit 5387d3c

Please sign in to comment.