diff --git a/internal/bigmod/nat_test.go b/internal/bigmod/nat_test.go index d6af772..80e6f53 100644 --- a/internal/bigmod/nat_test.go +++ b/internal/bigmod/nat_test.go @@ -546,7 +546,7 @@ func BenchmarkExp(b *testing.B) { } func TestNewModulus(t *testing.T) { - expected := "modulus must be > 0 and odd" + expected := "modulus must be > 0" _, err := NewModulus([]byte{}) if err == nil || err.Error() != expected { t.Errorf("NewModulus(0) got %q, want %q", err, expected)