Skip to content

Commit e742d65

Browse files
committed
fix warning in tests
1 parent f34ac1e commit e742d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/EnumeratorMacroTests/ConvertToCustomTypesTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class ConvertToCustomTypesTests: XCTestCase {
1818

1919
func testConvertsToEOptional() {
2020
let value: String? = nil
21-
let converted = convertToCustomTypesIfPossible(value)
21+
let converted = convertToCustomTypesIfPossible(value as Any)
2222
let convertedType = type(of: converted)
2323
XCTAssertTrue(convertedType is EOptional<Any>.Type, "\(converted); \(convertedType)")
2424
}

0 commit comments

Comments
 (0)