diff options
| author | Phil Sutter <phil@nwl.cc> | 2025-09-03 15:01:09 +0200 |
|---|---|---|
| committer | Phil Sutter <phil@nwl.cc> | 2025-09-04 17:07:18 +0200 |
| commit | 53d686888bc446cc949c2013504c9974e93c1e2d (patch) | |
| tree | c027faa54c0b1e6e783e18c55c24d53dcc1c2863 | |
| parent | ed1b5b672b2eeb6244bed566227bee2aa7a1e4b4 (diff) | |
tests: monitor: Label diffs to help users
Clarify what was expected and what was actually received.
Signed-off-by: Phil Sutter <phil@nwl.cc>
| -rwxr-xr-x | tests/monitor/run-tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monitor/run-tests.sh b/tests/monitor/run-tests.sh index 67d3e618..03091d17 100755 --- a/tests/monitor/run-tests.sh +++ b/tests/monitor/run-tests.sh @@ -5,7 +5,7 @@ debug=false test_json=false mydiff() { - diff -w -I '^# ' "$@" + diff -w -I '^# ' --label "expected" --label "got" "$@" } err() { |
