     ComparisonTest("\u{0}", "",
         skip: "rdar://problem/37686816"),
     ComparisonTest("\u{0}", "\u{0}",
-        xfail: "https://bugs.swift.org/browse/SR-332"),
+        expectedFailure: "https://bugs.swift.org/browse/SR-332"),
     ComparisonTest("\r\n", "t"),
     ComparisonTest("\r\n", "\n",
-        xfail: "blocked on rdar://problem/19036555"),
+        expectedFailure: "blocked on rdar://problem/19036555"),
     ComparisonTest("\u{0}", "\u{0}\u{0}",
-        xfail: "rdar://problem/19034601"),
+        expectedFailure: "rdar://problem/19034601"),
 
     // Whitespace
     // U+000A LINE FEED (LF)

    // U+0301 and U+0954 don't decompose in the canonical decomposition mapping.
    // U+0341 has a canonical decomposition mapping of U+0301.
    ComparisonTest("\u{0301}", "\u{0341}",
        xfail: "https://bugs.swift.org/browse/SR-243"),
    ComparisonTest("\u{0301}", "\u{0954}"),
    ComparisonTest("\u{0341}", "\u{0954}"),
]

            let fail = (failures > 0)
            if fail {
                // print("Prefix/Suffix case \(test.loc): \(failures) failures")
                // print("Failures were\(test.expectedFailure ? "" : " not") expected")
            }
            XCTAssert(test.expectedFailure == fail, "Unexpected \(test.expectedFailure ?"success":"failure"): \(test.loc)")
        }
    }
}
