summaryrefslogtreecommitdiff
path: root/tools/aapt2/test/Fixture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/test/Fixture.cpp')
-rw-r--r--tools/aapt2/test/Fixture.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/aapt2/test/Fixture.cpp b/tools/aapt2/test/Fixture.cpp
index f94f0fe1144a..285e5a11b4c0 100644
--- a/tools/aapt2/test/Fixture.cpp
+++ b/tools/aapt2/test/Fixture.cpp
@@ -80,9 +80,6 @@ void TestDirectoryFixture::TearDown() {
}
void TestDirectoryFixture::WriteFile(const std::string& path, const std::string& contents) {
- CHECK(util::StartsWith(path, temp_dir_))
- << "Attempting to create a file outside of test temporary directory.";
-
// Create any intermediate directories specified in the path
auto pos = std::find(path.rbegin(), path.rend(), file::sDirSep);
if (pos != path.rend()) {