summaryrefslogtreecommitdiff
path: root/pkg/hooks/1.0.0/when_test.go
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2018-06-03 12:22:14 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-04 13:01:56 +0000
commitfd126d8453c8790949378c36aa38561b2aea6b4b (patch)
treed2a997a4e1783c7276084ab9b819ae71838ca00a /pkg/hooks/1.0.0/when_test.go
parent8f198e67ca3a7f717823c974fe52791b94a8c5b1 (diff)
downloadpodman-fd126d8453c8790949378c36aa38561b2aea6b4b.tar.gz
podman-fd126d8453c8790949378c36aa38561b2aea6b4b.tar.bz2
podman-fd126d8453c8790949378c36aa38561b2aea6b4b.zip
hooks/1.0.0/when_test: Fix "both, and" -> "both, or" name typo
The typo is a copy/paste error from 68eb128f (pkg/hooks: Version the hook structure and add 1.0.0 hooks, 2018-04-27, #686). Signed-off-by: W. Trevor King <wking@tremily.us> Closes: #887 Approved by: rhatdan
Diffstat (limited to 'pkg/hooks/1.0.0/when_test.go')
-rw-r--r--pkg/hooks/1.0.0/when_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/hooks/1.0.0/when_test.go b/pkg/hooks/1.0.0/when_test.go
index 5a73270ac..61e725c8c 100644
--- a/pkg/hooks/1.0.0/when_test.go
+++ b/pkg/hooks/1.0.0/when_test.go
@@ -218,7 +218,7 @@ func TestHasBindMountsAndCommands(t *testing.T) {
match: true,
},
{
- name: "both, and",
+ name: "both, or",
command: "/bin/sh",
hasBindMounts: true,
or: true,