Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Jul 13, 2024
1 parent 8b55b34 commit 45c3b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/AnyExpressionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ class AnyExpressionTests: XCTestCase {

func testIntDictionaryLiteral() {
let expression = AnyExpression("[1: 'f', 2: 'e', 3: 'd']")
XCTAssertEqual(try expression.evaluate(), [1: "f", 2: "e", 3: "d"])
XCTAssertEqual(try expression.evaluate(), [1: "f", 2: "e", 3: "d"] as [Int: AnyHashable])
}

func testDictionaryLiteralWithNonHashableKey() {
Expand Down

0 comments on commit 45c3b9e

Please sign in to comment.