Skip to content

Commit

Permalink
fix warning in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM committed Jul 15, 2024
1 parent f34ac1e commit e742d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/EnumeratorMacroTests/ConvertToCustomTypesTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class ConvertToCustomTypesTests: XCTestCase {

func testConvertsToEOptional() {
let value: String? = nil
let converted = convertToCustomTypesIfPossible(value)
let converted = convertToCustomTypesIfPossible(value as Any)
let convertedType = type(of: converted)
XCTAssertTrue(convertedType is EOptional<Any>.Type, "\(converted); \(convertedType)")
}
Expand Down

0 comments on commit e742d65

Please sign in to comment.