Mercurial > hg > piper-cpp
changeset 179:0e13b7b80464
Remove some whitespace.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 03 Feb 2017 11:09:37 +0000 |
parents | 353f842ed73f |
children | bd543e74a9bf |
files | vamp-server/test.sh |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/vamp-server/test.sh Tue Jan 31 23:01:49 2017 +0000 +++ b/vamp-server/test.sh Fri Feb 03 11:09:37 2017 +0000 @@ -83,7 +83,7 @@ {"error": {"code": 0, "message": "error in finish request: unknown plugin handle supplied to finish"}, "id": "blah", "jsonrpc": "2.0", "method": "finish"} EOF -# We run the whole test three times, +# We run the whole test three times, # to cover (de)serialisation of json and capnp requests and responses # as well as exercising both server modes (json and capnp) # converting / reading from capnp requests is currently not tested @@ -121,10 +121,9 @@ # Skip plugin lists tail -n +4 "$allrespfile" > "$obtained" - echo "Checking response contents against expected contents..." - - # the expected configuration response is fragile, capnp fills in optional fields, - # json doesn't - which is fine behaviour, but causes the test to fail - remove empty binCount and binNames + echo "Checking response contents against expected contents..." + # the expected configuration response is fragile, capnp fills in optional fields, + # json doesn't - which is fine behaviour, but causes the test to fail - remove empty binCount and binNames expected_without_optional_fields=$( cat "$expected" | sed -E 's/\"(binCount|binNames)\": ?((\[\])|0),? ?//g') echo "$expected_without_optional_fields" > "$expected_less_strict"