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-maps.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-maps.t')
| -rw-r--r-- | tests/monitor/testcases/set-maps.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monitor/testcases/set-maps.t b/tests/monitor/testcases/set-maps.t index aaf332f3..acda480d 100644 --- a/tests/monitor/testcases/set-maps.t +++ b/tests/monitor/testcases/set-maps.t @@ -3,7 +3,7 @@ I add table ip t I add map ip t portip { type inet_service: ipv4_addr; flags interval; } O - J {"add": {"table": {"family": "ip", "name": "t", "handle": 0}}} -J {"add": {"map": {"family": "ip", "name": "portip", "table": "t", "type": "inet_service", "handle": 0, "map": "ipv4_addr", "flags": "interval"}}} +J {"add": {"map": {"family": "ip", "name": "portip", "table": "t", "type": "inet_service", "handle": 0, "map": "ipv4_addr", "flags": ["interval"]}}} I add element ip t portip { 80-100: 10.0.0.1 } O - |
