Skip to content

Commit bbe3349

Browse files
committed
Improve description and test naming in the search tests
1 parent bdb9886 commit bbe3349

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/MeiliSearchIntegrationTests/SearchTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ class SearchTests: XCTestCase {
446446
// MARK: Matches tests
447447

448448
func testSearchMatches() {
449-
let expectation = XCTestExpectation(description: "Search for Books using matches")
449+
let expectation = XCTestExpectation(description: "Search for Books using showMatchesPosition")
450450

451451
typealias MeiliResult = Result<SearchResult<Book>, Swift.Error>
452452
let limit = 5
@@ -793,7 +793,7 @@ class SearchTests: XCTestCase {
793793
// MARK: Facet distribution
794794

795795
func testSearchFacetDistribution() {
796-
let expectation = XCTestExpectation(description: "Search for Books using facets distribution")
796+
let expectation = XCTestExpectation(description: "Search for Books using facets")
797797

798798
configureFilters { result in
799799
switch result {
@@ -841,7 +841,7 @@ class SearchTests: XCTestCase {
841841
}
842842

843843
func testSearchFacetDistributionNullValue() {
844-
let expectation = XCTestExpectation(description: "Search for Books using facets distribution with 0 value")
844+
let expectation = XCTestExpectation(description: "Search for Books using facets with 0 value")
845845

846846
configureFilters { result in
847847
switch result {

0 commit comments

Comments
 (0)