mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-14 06:51:56 +00:00
16 lines
380 B
YAML
16 lines
380 B
YAML
desc: Regression tests for issue #309, using 'union' on an array and a stream doesn't seem to work
|
|
table_variable_name: t
|
|
tests:
|
|
|
|
# Set up a stream
|
|
|
|
- cd: t.insert([{'id':0}, {'id':1}])
|
|
|
|
# Try to union to an array
|
|
- cd: t.union([2,3,4])
|
|
ot: bag([{'id':0}, {'id':1}, 2, 3, 4])
|
|
|
|
- cd: r.expr([2,3,4]).union(t)
|
|
ot: bag([{'id':0}, {'id':1}, 2, 3, 4])
|
|
|