Skip to content

Commit

Permalink
chore: fix typo (#1121)
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <[email protected]>
  • Loading branch information
testwill authored Sep 16, 2023
1 parent 788b4fb commit 0efe794
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/suite/command/attach.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var _ = Describe("ORAS beginners:", func() {
ExpectFailure().MatchErrKeyWords("Error: no blob or manifest annotation are provided").Exec()
})

It("should fail if distribution spec is unkown", func() {
It("should fail if distribution spec is unknown", func() {
ORAS("attach", "--artifact-type", "oras/test", RegistryRef(ZOTHost, ImageRepo, foobar.Tag), "--distribution-spec", "???").
ExpectFailure().MatchErrKeyWords("unknown distribution specification flag").Exec()
})
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/suite/command/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ var _ = Describe("Remote registry users:", func() {

var _ = Describe("OCI image layout users:", func() {
tag := "e2e"
When("pushing to registy without OCI artifact support", func() {
When("pushing to registry without OCI artifact support", func() {
statusKeys := []match.StateKey{
foobar.ImageConfigStateKey("application/vnd.oci.empty.v1+json"),
foobar.FileBarStateKey,
Expand Down

0 comments on commit 0efe794

Please sign in to comment.