Kaynağa Gözat

fix the fuzz test test

flashmob 8 yıl önce
ebeveyn
işleme
53a920d6be
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      fuzz_test.go

+ 2 - 2
fuzz_test.go

@@ -187,7 +187,7 @@ func TestFuzz2(t *testing.T) {
 func TestFuzz3(t *testing.T) {
 	isFuzzDebug = true
 	result := Fuzz([]byte("DATA\r\n"))
-	if result != 1 {
+	if result != 0 {
 		t.Error("Fuzz test did not return 1")
 	}
 
@@ -196,7 +196,7 @@ func TestFuzz3(t *testing.T) {
 func TestFuzz4(t *testing.T) {
 	isFuzzDebug = true
 	result := Fuzz([]byte("MAIL from: <\r"))
-	if result != 1 {
+	if result != 0 {
 		t.Error("Fuzz test did not return 1")
 	}