simplify .gitignore, just on line for ignoring all the testdata/*/data directories

This commit is contained in:
Mechiel Lukkien
2023-11-09 18:19:47 +01:00
parent 893a6f8911
commit deb16d23b8
6 changed files with 3 additions and 15 deletions

View File

@ -1193,7 +1193,7 @@ func TestNonSMTP(t *testing.T) {
// Test limits on outgoing messages.
func TestLimitOutgoing(t *testing.T) {
ts := newTestServer(t, filepath.FromSlash("../testdata/smtp/sendlimit/mox.conf"), dns.MockResolver{})
ts := newTestServer(t, filepath.FromSlash("../testdata/smtpserversendlimit/mox.conf"), dns.MockResolver{})
defer ts.close()
ts.user = "mjl@mox.example"
@ -1237,7 +1237,7 @@ func TestCatchall(t *testing.T) {
"127.0.0.10": {"other.example."},
},
}
ts := newTestServer(t, filepath.FromSlash("../testdata/smtp/catchall/mox.conf"), resolver)
ts := newTestServer(t, filepath.FromSlash("../testdata/smtpservercatchall/mox.conf"), resolver)
defer ts.close()
testDeliver := func(rcptTo string, expErr *smtpclient.Error) {