Skip to content

Commit 0711837

Browse files
committed
Remove invisible character from dataset
1 parent 5083d4d commit 0711837

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Tests/MeiliSearchIntegrationTests/SearchTests.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private let books: [Book] = [
6262
Book(id: 456, title: "Le Petit Prince", comment: "A french book", genres: ["Novel"]),
6363
Book(id: 2, title: "Le Rouge et le Noir", comment: "Another french book", genres: ["Bildungsroman"]),
6464
Book(id: 1, title: "Alice In Wonderland", comment: "A weird book", genres: ["Fantasy"]),
65-
Book(id: 1344, title: "The Hobbit", comment: "An awesome book", genres: ["High fantasy"]),
65+
Book(id: 1344, title: "The Hobbit", comment: "An awesome book", genres: ["High fantasy"]),
6666
Book(id: 4, title: "Harry Potter and the Half-Blood Prince", comment: "The best book", genres: ["Fantasy"]),
6767
Book(id: 42, title: "The Hitchhiker's Guide to the Galaxy", genres: ["Novel"]),
6868
Book(id: 1844, title: "A Moreninha", comment: "A Book from Joaquim Manuel de Macedo", genres: ["Novel"])
@@ -687,7 +687,6 @@ class SearchTests: XCTestCase {
687687
XCTAssertEqual(documents.query, query)
688688
XCTAssertEqual(documents.limit, limit)
689689
XCTAssertEqual(documents.hits.count, 1)
690-
691690
guard let book: Book = documents.hits.first(where: { book in book.id == 1344 }) else {
692691
XCTFail("Failed to search with testSearchFilterWithEmptySpace")
693692
return
@@ -732,7 +731,7 @@ class SearchTests: XCTestCase {
732731
let expected: [String: [String: Int]] = [
733732
"genres": [
734733
"Classic Regency nove": 1,
735-
"High fantasy": 1,
734+
"High fantasy": 1,
736735
"Fantasy": 2,
737736
"Novel": 2,
738737
"Bildungsroman": 1

0 commit comments

Comments
 (0)