mirror of
https://github.com/axllent/mailpit.git
synced 2025-08-13 20:04:49 +02:00
Quote exact string matches in search test
This commit is contained in:
@@ -259,9 +259,9 @@ RepeatTest:
|
|||||||
case 2:
|
case 2:
|
||||||
search = fmt.Sprintf("to-%d@example.com", i)
|
search = fmt.Sprintf("to-%d@example.com", i)
|
||||||
case 3:
|
case 3:
|
||||||
search = fmt.Sprintf("Subject line %d end", i)
|
search = fmt.Sprintf("\"Subject line %d end\"", i)
|
||||||
default:
|
default:
|
||||||
search = fmt.Sprintf("the email body %d jdsauk dwqmdqw", i)
|
search = fmt.Sprintf("\"the email body %d jdsauk dwqmdqw\"", i)
|
||||||
}
|
}
|
||||||
|
|
||||||
summaries, err := Search(DefaultMailbox, search, 0, 10)
|
summaries, err := Search(DefaultMailbox, search, 0, 10)
|
||||||
|
Reference in New Issue
Block a user