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

struct ComparisonTest {
    enum TestBehavior {
      case run
      case xfail(String)
      case skip(String)
    }
    let lhs: String

    ComparisonTest("\u{0}", "",
        skip: "rdar://problem/37686816"),
    ComparisonTest("\u{0}", "\u{0}",
        expectedFailure: "https://bugs.swift.org/browse/SR-332"),
    ComparisonTest("\r\n", "t"),
    ComparisonTest("\r\n", "\n",
        expectedFailure: "blocked on rdar://problem/19036555"),
    ComparisonTest("\u{0}", "\u{0}\u{0}",
        expectedFailure: "rdar://problem/19034601"),

    // Whitespace
    // U+000A LINE FEED (LF)
