1
0
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:
Ralph Slooten 2022-08-12 10:19:49 +12:00
parent 1aa58eeaaf
commit a6693481fa

View File

@ -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)