Skip to content

Commit

Permalink
Updated tests to reflect changes from redis 7.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelvanstraten committed Sep 15, 2023
1 parent 82adab8 commit 86e8283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/SwiftyRedisTests/ConnectionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ final class ConnectionTests: XCTestCase {
let connection = try await client.get_connection()
let count: Int = try await connection.geoadd("Sincily", nil, .init(13.361389, 38.115556, "Palermo"), .init(15.087269, 37.502669, "Catania"))
print(count)
let search: RedisValue = try await connection.geosearch("Sincily", .FROMLONLAT(.init(13, 38)), .BOX(.init(1000, 1000, .km)), .ASC, .init(2, []), [.WITHCOORD])
let search: RedisValue = try await connection.geosearch("Sincily", .FROMLONLAT(.init(13, 38)), .BOX(.init(1000, 1000, .KM)), .ASC, .init(2, []), [.WITHCOORD])
print(search)
}

Expand Down

0 comments on commit 86e8283

Please sign in to comment.