diff options
| author | Phil Sutter <phil@nwl.cc> | 2025-08-23 23:57:28 +0200 |
|---|---|---|
| committer | Phil Sutter <phil@nwl.cc> | 2025-08-24 00:04:25 +0200 |
| commit | 428462077f415fe49619ec5d6cbf7477ee5359bc (patch) | |
| tree | 4a7be04186d180f27aa389dd37613ad9db86387c /tests/monitor/testcases/set-interval.t | |
| parent | cbd7aef7637a4ca647380118a2d3e9146121d5d2 (diff) | |
tests: monitor: Fix for flag arrays in JSON output
Missed to adjust the expected JSON output in this test suite, too.
Fixes: 5e492307c2c93 ("json: Do not reduce single-item arrays on output")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/monitor/testcases/set-interval.t')
| -rw-r--r-- | tests/monitor/testcases/set-interval.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monitor/testcases/set-interval.t b/tests/monitor/testcases/set-interval.t index 84cf98c2..5053c596 100644 --- a/tests/monitor/testcases/set-interval.t +++ b/tests/monitor/testcases/set-interval.t @@ -10,7 +10,7 @@ I add set ip t s { type inet_service; flags interval; elements = { 20, 30-40 }; O add set ip t s { type inet_service; flags interval; } O add element ip t s { 20 } O add element ip t s { 30-40 } -J {"add": {"set": {"family": "ip", "name": "s", "table": "t", "type": "inet_service", "handle": 0, "flags": "interval"}}} +J {"add": {"set": {"family": "ip", "name": "s", "table": "t", "type": "inet_service", "handle": 0, "flags": ["interval"]}}} J {"add": {"element": {"family": "ip", "table": "t", "name": "s", "elem": {"set": [20]}}}} J {"add": {"element": {"family": "ip", "table": "t", "name": "s", "elem": {"set": [{"range": [30, 40]}]}}}} |
