summaryrefslogtreecommitdiff
path: root/runtime/vdex_file_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/vdex_file_test.cc')
-rw-r--r--runtime/vdex_file_test.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/vdex_file_test.cc b/runtime/vdex_file_test.cc
index 4c359e38c6..fb0c03aa6a 100644
--- a/runtime/vdex_file_test.cc
+++ b/runtime/vdex_file_test.cc
@@ -33,13 +33,11 @@ TEST_F(VdexFileTest, OpenEmptyVdex) {
std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(),
0,
tmp.GetFilename(),
- /*writable=*/false,
/*low_4gb=*/false,
&error_msg);
EXPECT_TRUE(vdex == nullptr);
- vdex = VdexFile::Open(
- tmp.GetFilename(), /*writable=*/false, /*low_4gb=*/false, &error_msg);
+ vdex = VdexFile::Open(tmp.GetFilename(), /*low_4gb=*/false, &error_msg);
EXPECT_TRUE(vdex == nullptr);
}