From bd902372dee89ce6f26c5551812550458701826d Mon Sep 17 00:00:00 2001 From: Yongxin Li Date: Mon, 17 Sep 2018 18:25:03 +0800 Subject: [PATCH 1/2] typo fix oci/typo_spec_opts_test Signed-off-by: Yongxin Li --- oci/spec_opts_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oci/spec_opts_test.go b/oci/spec_opts_test.go index 2b25c5f33..d6d296b46 100644 --- a/oci/spec_opts_test.go +++ b/oci/spec_opts_test.go @@ -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") } } From 03b1dae195ccadd9dd59ccc3091f3a1f714a6148 Mon Sep 17 00:00:00 2001 From: Yongxin Li Date: Thu, 20 Sep 2018 10:56:42 +0800 Subject: [PATCH 2/2] typo fix Signed-off-by: Yongxin Li --- oci/spec_opts_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oci/spec_opts_test.go b/oci/spec_opts_test.go index d6d296b46..cede96d3e 100644 --- a/oci/spec_opts_test.go +++ b/oci/spec_opts_test.go @@ -54,13 +54,13 @@ func TestWithEnv(t *testing.T) { WithEnv([]string{"env2=2"})(nil, nil, nil, &s) if s.Process.Env[2] != "env2=2" { - t.Fatal("could't update") + t.Fatal("couldn't update") } WithEnv([]string{"env2"})(nil, nil, nil, &s) if len(s.Process.Env) != 2 { - t.Fatal("could't unset") + t.Fatal("couldn't unset") } }