         let string = try self.encodedStringForFileName("UTF-16", usedEncoding: &encoding)
         
         XCTAssertEqual(string, "0")
-        XCTAssertEqual(encoding, String.Encoding.utf16)
+        XCTAssertEqual(encoding, .utf16)
     }
     
     

        let string = try self.encodedStringForFileName("UTF-8 BOM", usedEncoding: &encoding)
        
        XCTAssertEqual(string, "0")
        XCTAssertEqual(encoding, String.Encoding.utf8)
    }
    
    

        let string = try String(data: data, suggestedCFEncodings: [invalidInt, utf8Int], usedEncoding: &encoding)
        
        XCTAssertEqual(string, "0")
        XCTAssertEqual(encoding, .utf8)
    }
    
    
