Skip to content

Commit f957852

Browse files
committed
fix: failing tests
Signed-off-by: axel7083 <[email protected]>
1 parent 8e013c0 commit f957852

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/e2e/quadlet/multiple-yaml-set-working-dir-yaml.kube

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## assert-failed
2+
## assert-stderr-contains "SetWorkingDirectory=yaml is only supported when a single Yaml key is provided"
3+
14
[Kube]
25
Yaml=foo.yml
36
Yaml=bar.yml

test/e2e/quadlet_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ BOGUS=foo
11401140
Entry("Volume - Quadlet image (.image) not found", "image-not-found.quadlet.volume", "converting \"image-not-found.quadlet.volume\": requested Quadlet image not-found.image was not found"),
11411141

11421142
Entry("Kube - User Remap Manual", "remap-manual.kube", "converting \"remap-manual.kube\": RemapUsers=manual is not supported"),
1143-
Entry("Kube - Multiple Yaml and SetWorkingDir=yaml", "multiple-yaml-set-working-dir-yaml.kube", "converting \"multiple-yaml-set-working-dir-yaml.kube\": SetWorkingDirectory=yaml is only supported when a single Yaml key is provided quadlet-generator"),
1143+
Entry("Kube - Multiple Yaml and SetWorkingDir=yaml", "multiple-yaml-set-working-dir-yaml.kube", "converting \"multiple-yaml-set-working-dir-yaml.kube\": SetWorkingDirectory=yaml is only supported when a single Yaml key is provided"),
11441144

11451145
Entry("Network - Gateway not enough Subnet", "gateway.less-subnet.network", "converting \"gateway.less-subnet.network\": cannot set more gateways than subnets"),
11461146
Entry("Network - Gateway without Subnet", "gateway.no-subnet.network", "converting \"gateway.no-subnet.network\": cannot set gateway or range without subnet"),

0 commit comments

Comments
 (0)