         Inflections.default = originalInflections!
     }
     
+    // Until SPM tests can load resources, disable this test for SPM.
+    #if !SWIFT_PACKAGE
     private var inflectionTestCases: InflectionTestCases {
         let url = Bundle(for: type(of: self)).url(forResource: "InflectionsTests", withExtension: "json")!
         let data = try! Data(contentsOf: url)
         return try! JSONDecoder().decode(InflectionTestCases.self, from: data)
     }
+    #endif
     
     func testStartIndexOfLastWord() {
         func lastWord(_ string: String) -> String {

        XCTAssertEqual(word.singularized, word)
        XCTAssertEqual(word.pluralized, word.singularized)
    }

    func testUncountableWords() {
        for word in Inflections.default.uncountables {
            XCTAssertEqual(word.pluralized, word)

            XCTAssertEqual(suffixedPlural.pluralized, suffixedPlural)
        }
    }
    #endif
    
    // Until SPM tests can load resources, disable this test for SPM.
    #if !SWIFT_PACKAGE
    func testSingularizeSingularWord() {
        for (singular, _) in inflectionTestCases.testCases["SingularToPlural"]! {
            XCTAssertEqual(singular.singularized, singular)
