Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Gao <[email protected]>
  • Loading branch information
JeyJeyGao committed Feb 20, 2025
1 parent f876126 commit 0d8d684
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/e2e/suite/command/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ var _ = Describe("notation key", func() {
Host(BaseOptions(), func(notation *utils.ExecOpts, artifact *Artifact, vhost *utils.VirtualHost) {
userConfigDir := vhost.AbsolutePath()
notation.Exec("key", "list").
// we can only check the key words here as the number spaces
// between the columns are not fixed.
MatchKeyWords(
"NAME KEY PATH CERTIFICATE PATH ID PLUGIN NAME",
"NAME",
"KEY PATH",
"CERTIFICATE PATH",
"ID",
"PLUGIN NAME",
fmt.Sprintf("* e2e %s/notation/localkeys/e2e.key %s/notation/localkeys/e2e.crt", userConfigDir, userConfigDir),
)
})
Expand Down

0 comments on commit 0d8d684

Please sign in to comment.