1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Description: Fix tests for hashicorp-multierror 1.0
Author: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Forwarded: https://github.com/opencontainers/runtime-tools/issues/677
Last-Update: 2019-01-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/validate/validate_test.go
+++ b/validate/validate_test.go
@@ -716,11 +716,11 @@
}{
{
config: &rspec.Spec{},
- error: "1 error occurred:\n\n* 'Spec.Version' should not be empty",
+ error: "1 error occurred:\n\t* 'Spec.Version' should not be empty\n\n",
},
{
config: nil,
- error: "1 error occurred:\n\n* Spec can't be nil",
+ error: "1 error occurred:\n\t* Spec can't be nil\n\n",
},
{
config: &rspec.Spec{
@@ -733,7 +733,7 @@
Version: "1.0.0",
Root: &rspec.Root{},
},
- error: "1 error occurred:\n\n* 'Root.Path' should not be empty",
+ error: "1 error occurred:\n\t* 'Root.Path' should not be empty\n\n",
},
} {
t.Run(tt.error, func(t *testing.T) {
|