Skip to content

Commit

Permalink
code clean
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
  • Loading branch information
qweeah committed Dec 15, 2022
1 parent f4b5e36 commit 262fbab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/suite/command/blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ const (
pushDescFmt = `{"mediaType":"%s","digest":"sha256:e1ca41574914ba00e8ed5c8fc78ec8efdfd48941c7e48ad74dad8ada7f2066d8","size":9}`
)

var repoFmt = fmt.Sprintf("command/blob/push/%d/%%s", GinkgoRandomSeed())

var _ = Describe("ORAS beginners:", func() {
repoFmt := fmt.Sprintf("command/blob/push/%d/%%s", GinkgoRandomSeed())
When("running blob command", func() {
RunAndShowPreviewInHelp([]string{"blob"})

Expand Down Expand Up @@ -129,6 +128,7 @@ var _ = Describe("ORAS beginners:", func() {
})

var _ = Describe("Common registry users:", func() {
repoFmt := fmt.Sprintf("command/blob/push/%d/%%s", GinkgoRandomSeed())
When("running `blob push`", func() {
It("should push a blob from a file and output the descriptor with specific media-type", func() {
mediaType := "test.media"
Expand Down

0 comments on commit 262fbab

Please sign in to comment.