mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-06 06:27:38 +03:00
testutils: Move DontRecover flag
It was used only in queue tests and so was moved there. This fixes -tests.debuglog command line flag being present in the maddy executable as a side effect of testutils package import.
This commit is contained in:
parent
b22a3de94c
commit
c4df3af4af
3 changed files with 6 additions and 6 deletions
|
@ -817,5 +817,5 @@ func TestQueueDSN_RcptRewrite(t *testing.T) {
|
|||
}
|
||||
|
||||
func init() {
|
||||
testutils.DontRecover = true
|
||||
dontRecover = true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue