diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-06-19 11:24:57 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-06-19 11:24:57 +0100 |
| commit | 9c9c1391fceabd9eb1fda23ace76586a553a82a7 (patch) | |
| tree | a86a884e37c6750dbb5be3e7fa5ed0724b4695f4 | |
| parent | a3cfb19c4448d97fc0036e2fee10506d94a88fef (diff) | |
Fix examples in README.md
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,6 +11,6 @@ This project contains Python bindings for (jq)[http://stedolan.github.io/jq/]. from jq import jq assert [2, 3, 4] == jq("[.[]+1]").transform_json([1, 2, 3]).json() -assert [2,3,4] == str(jq("[.[]+1]").transform_json([1, 2, 3])) -assert [2,3,4] == str(jq("[.[]+1]").transform_string("[1, 2, 3]")) +assert "[2,3,4]" == str(jq("[.[]+1]").transform_json([1, 2, 3])) +assert "[2,3,4]" == str(jq("[.[]+1]").transform_string("[1, 2, 3]")) ``` |
