From a417531e157bd71721f1849d6dd77a6dd9d775e1 Mon Sep 17 00:00:00 2001 From: Hanqi Wu Date: Tue, 15 Oct 2024 13:20:01 -0700 Subject: [PATCH] fix namespace misuse: Part 9 (#99) Summary: Pull Request resolved: https://github.com/facebookincubator/nimble/pull/99 Directory: //dwio/nimble/tablet/ Reviewed By: darrenfu Differential Revision: D64257010 fbshipit-source-id: 475bf2ae5a26ad59a040fdb4041d3c460bcf2d2f --- dwio/nimble/tablet/tests/TabletTests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dwio/nimble/tablet/tests/TabletTests.cpp b/dwio/nimble/tablet/tests/TabletTests.cpp index 8e5885f..2f0c6ad 100644 --- a/dwio/nimble/tablet/tests/TabletTests.cpp +++ b/dwio/nimble/tablet/tests/TabletTests.cpp @@ -32,7 +32,7 @@ #include "velox/common/memory/Memory.h" #include "velox/dwio/common/ExecutorBarrier.h" -using namespace ::facebook; +using namespace facebook; namespace { @@ -231,9 +231,9 @@ void parameterizedTest( errorVerifier.value()(e); // If errorVerifier detected an error, log the exception - if (testing::Test::HasFatalFailure()) { + if (::testing::Test::HasFatalFailure()) { FAIL() << "Failed verifying exception: " << e.what(); - } else if (testing::Test::HasNonfatalFailure()) { + } else if (::testing::Test::HasNonfatalFailure()) { LOG(WARNING) << "Failed verifying exception: " << e.what(); } }