lib/model: Fix wrongly hardcoded arguments in test helper (#7749)

This commit is contained in:
Simon Frei
2021-06-05 17:01:23 +02:00
committed by GitHub
parent b1e0e7b923
commit 18592af993
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -2358,7 +2358,7 @@ func TestIssue3496(t *testing.T) {
t.Log(comp)
// Check that NeedSize does the correct thing
need := needSize(t, m, "default")
need := needSizeLocal(t, m, "default")
if need.Files != 1 || need.Bytes != 1234 {
// The one we added synthetically above
t.Errorf("Incorrect need size; %d, %d != 1, 1234", need.Files, need.Bytes)