diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-05-09 12:00:08 -0400 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-05-09 09:00:08 -0700 |
commit | 07126101d379b900724c7c5cfc82070b42c235d6 (patch) | |
tree | 80b2485b61eb1684cd6127473267af206c3ab1c2 /api/post_benchmark_test.go | |
parent | 9e07f4b021b28a3e301359a48cf950298f3e552e (diff) | |
download | chat-07126101d379b900724c7c5cfc82070b42c235d6.tar.gz chat-07126101d379b900724c7c5cfc82070b42c235d6.tar.bz2 chat-07126101d379b900724c7c5cfc82070b42c235d6.zip |
Recent mention searches now OR terms instead of AND (#2931)
Diffstat (limited to 'api/post_benchmark_test.go')
-rw-r--r-- | api/post_benchmark_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/post_benchmark_test.go b/api/post_benchmark_test.go index 4e5f6668f..5424bc1dd 100644 --- a/api/post_benchmark_test.go +++ b/api/post_benchmark_test.go @@ -95,9 +95,9 @@ func BenchmarkSearchPosts(b *testing.B) { // Benchmark Start b.ResetTimer() for i := 0; i < b.N; i++ { - Client.Must(Client.SearchPosts("nothere")) - Client.Must(Client.SearchPosts("n")) - Client.Must(Client.SearchPosts("#tag")) + Client.Must(Client.SearchPosts("nothere", false)) + Client.Must(Client.SearchPosts("n", false)) + Client.Must(Client.SearchPosts("#tag", false)) } } |