You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/04/06 18:31:11 UTC
[trafficserver] 09/25: Remove trailing white space from json
formatter
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 28bb79c5c2314a2d7c5ea04857eab378ba79a77c
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Fri Jan 31 08:20:40 2020 +0900
Remove trailing white space from json formatter
(cherry picked from commit 9836b0bbb4c36e2c1c70a57a7cfe66276ac9c0ba)
---
tests/gold_tests/h2/httpbin.test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/gold_tests/h2/httpbin.test.py b/tests/gold_tests/h2/httpbin.test.py
index 851eee2..388df74 100644
--- a/tests/gold_tests/h2/httpbin.test.py
+++ b/tests/gold_tests/h2/httpbin.test.py
@@ -80,7 +80,7 @@ Test.Disk.File(os.path.join(ts.Variables.LOGDIR, 'access.log'), exists=True, con
# TODO: when httpbin 0.8.0 or later is released, remove below json pretty print hack
json_printer = '''
-python -c "import sys,json; print(json.dumps(json.load(sys.stdin), indent=2))"
+python -c "import sys,json; print(json.dumps(json.load(sys.stdin), indent=2, separators=(',', ': ')))"
'''
# ----