         XCTAssertEqual(entries.count, 2)
 
         XCTAssertEqual(entries[0].info.name, "dir/")
-        XCTAssertEqual(entries[0].info.isDirectory, true)
+        XCTAssertEqual(entries[0].info.type, .directory)
         XCTAssertEqual(entries[0].info.size, 0)
         XCTAssertEqual(entries[0].data, Data())
 
         XCTAssertEqual(entries[1].info.name, "text_win.txt")
-        XCTAssertEqual(entries[1].info.isDirectory, false)
+        XCTAssertNotEqual(entries[1].info.type, .directory)
         XCTAssertEqual(entries[1].info.size, 15)
         XCTAssertEqual(entries[1].data, "Hello, Windows!".data(using: .utf8))
     }


        XCTAssertEqual(entries.count, 1)
        XCTAssertEqual(entries[0].info.name, "test4.answer")
        XCTAssertEqual(entries[0].info.isDirectory, false)

        guard let answerURL = Constants.url(forAnswer: "test4") else {
            XCTFail("Unable to get answer's URL.")


        XCTAssertEqual(entries.count, 1)
        XCTAssertEqual(entries[0].info.name, "текстовый файл")
        XCTAssertNotEqual(entries[0].info.type, .directory)
        XCTAssertNotNil(entries[0].data)
    }

