blob: 9bdc52b60ce03c3f20b44f26932aad44c59fdd6f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
source "$(git rev-parse --show-toplevel)/test/integrations/common.sh"
output=$(
stack run -- -Lnull --dump-parsed input.fdl |
jq '..
| objects
| select(._con == "RegisterBitsAnonymousType")
| .anonBitsType
.anonEnumBody[0]
.enumConsts[0]
.directedSubtree
.enumConstIdent')
assert_eq "$output" '"on"'
finish
|