[PATCH] lib: Add a new prefix "list" to the search-terms syntax
Kirill A. Shutemov
kirill at shutemov.name
Tue Dec 17 11:46:51 PST 2013
On Tue, Dec 17, 2013 at 08:03:22PM +0200, Kirill A. Shutemov wrote:
> diff --git a/test/test-lib.sh b/test/test-lib.sh
> index d8e0d9115a69..981bde4a4004 100644
> --- a/test/test-lib.sh
> +++ b/test/test-lib.sh
> @@ -576,9 +576,9 @@ test_expect_equal_json () {
> # The test suite forces LC_ALL=C, but this causes Python 3 to
> # decode stdin as ASCII. We need to read JSON in UTF-8, so
> # override Python's stdio encoding defaults.
> - output=$(echo "$1" | PYTHONIOENCODING=utf-8 python -mjson.tool \
> + output=$(echo "$1" | PYTHONIOENCODING=utf-8 python2 -mjson.tool \
> || echo "$1")
> - expected=$(echo "$2" | PYTHONIOENCODING=utf-8 python -mjson.tool \
> + expected=$(echo "$2" | PYTHONIOENCODING=utf-8 python2 -mjson.tool \
> || echo "$2")
> shift 2
> test_expect_equal "$output" "$expected" "$@"
This part is not relevant.
--
Kirill A. Shutemov
More information about the notmuch
mailing list