jsonconfig: fix test build. passes now.

Change-Id: I12097d09342f30165c29a787c5e1b2271b146f8f
This commit is contained in:
Brad Fitzpatrick 2012-03-29 16:13:15 -07:00
parent cf2813a5a4
commit 55edf14a70
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}