Selaa lähdekoodia

Fixed syntax error in test

Jordan Wright 9 vuotta sitten
vanhempi
commit
f61123ea07
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      email_test.go

+ 3 - 0
email_test.go

@@ -287,6 +287,9 @@ Testing!
 	if err != nil {
 		t.Fatalf("Error when parsing email %s", err.Error())
 	}
+	if !bytes.Equal(e.Text, []byte("Testing!")) {
+		t.Fatalf("Error incorrect text: %#q != %#q\n", e.Text, "Testing!")
+	}
 }
 
 // *Since the mime library in use by ```email``` is now in the stdlib, this test is deprecated