[FIX] tests assertion
This commit is contained in:
parent
fc06e5c36a
commit
b60f573125
@ -283,8 +283,7 @@ func TestImportedPackageWithSameName(t *testing.T) {
|
|||||||
t.Errorf("mock error: %s", err)
|
t.Errorf("mock error: %s", err)
|
||||||
}
|
}
|
||||||
s := buf.String()
|
s := buf.String()
|
||||||
if !strings.Contains(s, `"samenameimport.A"`) {
|
if !strings.Contains(s, `a samename.A`) {
|
||||||
t.Error("missing samenameimport.A to address the struct A from the external package samenameimport")
|
t.Error("missing samename.A to address the struct A from the external package samename")
|
||||||
}
|
}
|
||||||
t.Logf("\n\n%s\n\n", s)
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user