Skip to content

Commit dccdc6b

Browse files
committed
Add two more tests for showcasing old format works
1 parent 9c6a048 commit dccdc6b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

suites/vars.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,17 @@
9595
"rule": { "var": "..." },
9696
"data": { "" : { "": { "": 3 } } },
9797
"result": 3
98+
},
99+
{
100+
"description": "Old format still works",
101+
"rule": { "var": "hello.world" },
102+
"data": { "hello": { "world": 5 } },
103+
"result": 5
104+
},
105+
{
106+
"description": "New format works too",
107+
"rule": { "var": "hello/world" },
108+
"data": { "hello": { "world": 5 } },
109+
"result": 5
98110
}
99111
]

0 commit comments

Comments
 (0)