remove incorrect scope

This commit is contained in:
Axel Kohlmeyer
2022-02-03 17:16:20 -05:00
parent 2137ad04fd
commit 8fbaaffd3e

View File

@ -266,7 +266,7 @@ protected:
::testing::internal::CaptureStdout(); ::testing::internal::CaptureStdout();
lmp = new LAMMPS(argc, argv, MPI_COMM_WORLD); lmp = new LAMMPS(argc, argv, MPI_COMM_WORLD);
std::string output = ::testing::internal::GetCapturedStdout(); std::string output = ::testing::internal::GetCapturedStdout();
if (LAMMPS::Info::has_accelerator_feature("KOKKOS", "api", "openmp")) if (Info::has_accelerator_feature("KOKKOS", "api", "openmp"))
EXPECT_THAT(output, StartsWith("Kokkos::OpenMP::")); EXPECT_THAT(output, StartsWith("Kokkos::OpenMP::"));
} else } else
GTEST_SKIP(); GTEST_SKIP();