mirror of https://github.com/perkeep/perkeep.git
jsonconfig: fix test build. passes now.
Change-Id: I12097d09342f30165c29a787c5e1b2271b146f8f
This commit is contained in:
parent
cf2813a5a4
commit
55edf14a70
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue