diff options
Diffstat (limited to 'core/libdeno')
-rw-r--r-- | core/libdeno/BUILD.gn | 2 | ||||
-rw-r--r-- | core/libdeno/file_util_test.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/libdeno/BUILD.gn b/core/libdeno/BUILD.gn index eeec14eb5..8ad3dccc3 100644 --- a/core/libdeno/BUILD.gn +++ b/core/libdeno/BUILD.gn @@ -80,7 +80,7 @@ v8_executable("snapshot_creator") { configs = [ ":deno_config" ] } -v8_executable("test_cc") { +v8_executable("libdeno_test") { testonly = true sources = [ "file_util_test.cc", diff --git a/core/libdeno/file_util_test.cc b/core/libdeno/file_util_test.cc index 80c878044..863a31d48 100644 --- a/core/libdeno/file_util_test.cc +++ b/core/libdeno/file_util_test.cc @@ -38,7 +38,7 @@ TEST(FileUtilTest, ExePath) { EXPECT_TRUE(exe_path.find("/") == 0 || exe_path.find(":\\") == 1); // FIlename is the name of the test binary. std::string exe_filename = deno::Basename(exe_path); - EXPECT_EQ(exe_filename.find("test_cc"), 0u); + EXPECT_EQ(exe_filename.find("libdeno_test"), 0u); // Path exists (also tests ReadFileToString). std::string contents; EXPECT_TRUE(deno::ReadFileToString(exe_path.c_str(), &contents)); |