typo fix oci/typo_spec_opts_test

Signed-off-by: Yongxin Li <yxli@alauda.io>
This commit is contained in:
Yongxin Li 2018-09-17 18:25:03 +08:00
parent 66b984ee33
commit bd902372de

View File

@ -60,7 +60,7 @@ func TestWithEnv(t *testing.T) {
WithEnv([]string{"env2"})(nil, nil, nil, &s)
if len(s.Process.Env) != 2 {
t.Fatal("coudn't unset")
t.Fatal("could't unset")
}
}
@ -89,11 +89,11 @@ func TestWithMounts(t *testing.T) {
}
if s.Mounts[1].Source != "new-source" {
t.Fatal("invaid mount")
t.Fatal("invalid mount")
}
if s.Mounts[1].Destination != "new-dest" {
t.Fatal("invaid mount")
t.Fatal("invalid mount")
}
}