From 55edf14a704e37576f802b2057b5841ac95ec869 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 29 Mar 2012 16:13:15 -0700 Subject: [PATCH] jsonconfig: fix test build. passes now. Change-Id: I12097d09342f30165c29a787c5e1b2271b146f8f --- pkg/jsonconfig/jsonconfig_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/jsonconfig/jsonconfig_test.go b/pkg/jsonconfig/jsonconfig_test.go index 89e5c9e2c..b50658424 100644 --- a/pkg/jsonconfig/jsonconfig_test.go +++ b/pkg/jsonconfig/jsonconfig_test.go @@ -42,7 +42,7 @@ func TestIncludeLoop(t *testing.T) { if err == nil { t.Fatal("expected an error about import cycles.") } - if !strings.Contains(err.String(), "include cycle detected"){ + if !strings.Contains(err.Error(), "include cycle detected"){ t.Fatal("expected an error about import cycles; got: %v", err) } }