mirror of
https://github.com/axllent/mailpit.git
synced 2025-01-30 04:30:56 +02:00
Quote exact string matches in search test
This commit is contained in:
parent
1aa58eeaaf
commit
a6693481fa
@ -259,9 +259,9 @@ RepeatTest:
|
||||
case 2:
|
||||
search = fmt.Sprintf("to-%d@example.com", i)
|
||||
case 3:
|
||||
search = fmt.Sprintf("Subject line %d end", i)
|
||||
search = fmt.Sprintf("\"Subject line %d end\"", i)
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user