Kaynağa Gözat

Fix unit test

zfliex924 3 yıl önce
ebeveyn
işleme
17540926cd
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      accounts/abi/bind/bind_test.go

+ 1 - 1
accounts/abi/bind/bind_test.go

@@ -1851,7 +1851,7 @@ func TestGolangBindings(t *testing.T) {
 	if out, err := replacer.CombinedOutput(); err != nil {
 		t.Fatalf("failed to replace binding test dependency to current source tree: %v\n%s", err, out)
 	}
-	tidier := exec.Command(gocmd, "mod", "tidy")
+	tidier := exec.Command(gocmd, "mod", "tidy", "-compat=1.17")
 	tidier.Dir = pkg
 	if out, err := tidier.CombinedOutput(); err != nil {
 		t.Fatalf("failed to tidy Go module file: %v\n%s", err, out)