[PATCH 01/13] test: Uniformly canonicalize actual and expected JSON

2012-07-26 Thread Tomi Ollila
On Wed, Jul 25 2012, Austin Clements wrote: > Previously, we used a variety of ad-hoc canonicalizations for JSON > output in the test suite, but were ultimately very sensitive to JSON > irrelevancies such as whitespace. This introduces a new test > comparison function, test_expect_equal_json,

Re: [PATCH 01/13] test: Uniformly canonicalize actual and expected JSON

2012-07-25 Thread Tomi Ollila
On Wed, Jul 25 2012, Austin Clements amdra...@mit.edu wrote: Previously, we used a variety of ad-hoc canonicalizations for JSON output in the test suite, but were ultimately very sensitive to JSON irrelevancies such as whitespace. This introduces a new test comparison function,

[PATCH 01/13] test: Uniformly canonicalize actual and expected JSON

2012-07-24 Thread Austin Clements
Previously, we used a variety of ad-hoc canonicalizations for JSON output in the test suite, but were ultimately very sensitive to JSON irrelevancies such as whitespace. This introduces a new test comparison function, test_expect_equal_json, that first pretty-prints *both* the actual and expected

[PATCH 01/13] test: Uniformly canonicalize actual and expected JSON

2012-07-24 Thread Austin Clements
Previously, we used a variety of ad-hoc canonicalizations for JSON output in the test suite, but were ultimately very sensitive to JSON irrelevancies such as whitespace. This introduces a new test comparison function, test_expect_equal_json, that first pretty-prints *both* the actual and expected