Tests: explicitly convert the character type
Tests: explicitly convert the character type

The platform character type is different across Unix and Windows.
Explicitly convert the value to the expected type.

apple/swift-system,apple/swift-system,apple/swift-system