Same error. Here is what I had: - if exc.name == expected: + let name: string = exc.name.string + if name.startsWith(expected): Run
See? When I was comparing cstring to string, it was working, but now I need to test only the start (because the name changed from AssertionError to AssertionDefect). So now I'm wondering how the comparison worked if I am unable to type-convert.