Skip to content

Commit 16b42fc

Browse files
authored
Merge pull request #2653 from liyongxin/master
typo fix oci/typo_spec_opts_test
2 parents 1586130 + 03b1dae commit 16b42fc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

oci/spec_opts_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ func TestWithEnv(t *testing.T) {
5454
WithEnv([]string{"env2=2"})(nil, nil, nil, &s)
5555

5656
if s.Process.Env[2] != "env2=2" {
57-
t.Fatal("could't update")
57+
t.Fatal("couldn't update")
5858
}
5959

6060
WithEnv([]string{"env2"})(nil, nil, nil, &s)
6161

6262
if len(s.Process.Env) != 2 {
63-
t.Fatal("coudn't unset")
63+
t.Fatal("couldn't unset")
6464
}
6565
}
6666

@@ -89,11 +89,11 @@ func TestWithMounts(t *testing.T) {
8989
}
9090

9191
if s.Mounts[1].Source != "new-source" {
92-
t.Fatal("invaid mount")
92+
t.Fatal("invalid mount")
9393
}
9494

9595
if s.Mounts[1].Destination != "new-dest" {
96-
t.Fatal("invaid mount")
96+
t.Fatal("invalid mount")
9797
}
9898
}
9999

0 commit comments

Comments
 (0)