From 0efe794f1776577d987d2b9d9fcba593cfed5132 Mon Sep 17 00:00:00 2001 From: guangwu Date: Sat, 16 Sep 2023 20:29:13 +0800 Subject: [PATCH] chore: fix typo (#1121) Signed-off-by: guoguangwu --- test/e2e/suite/command/attach.go | 2 +- test/e2e/suite/command/push.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/suite/command/attach.go b/test/e2e/suite/command/attach.go index 0c813d9e7..ef5c51d2e 100644 --- a/test/e2e/suite/command/attach.go +++ b/test/e2e/suite/command/attach.go @@ -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() }) diff --git a/test/e2e/suite/command/push.go b/test/e2e/suite/command/push.go index 3aba4fcb4..81bd2ddad 100644 --- a/test/e2e/suite/command/push.go +++ b/test/e2e/suite/command/push.go @@ -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,