Skip to content

Commit 38b847c

Browse files
committed
Add a consistent single-item array to catch more possible edge cases
1 parent db95215 commit 38b847c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

spec/octocatalog-diff/fixtures/catalogs/filter-single-item-array-1.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@
3636
"Service[foo]",
3737
"Service[bar]"
3838
],
39-
"owner": "root"
39+
"owner": "root",
40+
"subscribe": [
41+
"Service[baz]"
42+
]
4043
}
4144
},
4245
{

spec/octocatalog-diff/fixtures/catalogs/filter-single-item-array-2.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
"Service[foo]",
3939
"Service[baz]"
4040
],
41-
"owner": "root"
41+
"owner": "root",
42+
"subscribe": [
43+
"Service[baz]"
44+
]
4245
}
4346
},
4447
{

0 commit comments

Comments
 (0)