correct syntax error

This commit is contained in:
Axel Kohlmeyer
2023-02-01 03:53:32 -05:00
parent 6ed526c95b
commit 7172d1bdd1

View File

@ -51,7 +51,7 @@ protected:
{ {
::testing::internal::CaptureStdout(); ::testing::internal::CaptureStdout();
lmp = (LAMMPS_NS::LAMMPS *)f_lammps_with_args(); lmp = (LAMMPS_NS::LAMMPS *)f_lammps_with_args();
lmp->input->one("variable index input_dir " STRINGIFY(TEST_INPUT_FOLDER)); lmp->input->one("variable input_dir index " STRINGIFY(TEST_INPUT_FOLDER));
std::string output = ::testing::internal::GetCapturedStdout(); std::string output = ::testing::internal::GetCapturedStdout();
EXPECT_STREQ(output.substr(0, 8).c_str(), "LAMMPS ("); EXPECT_STREQ(output.substr(0, 8).c_str(), "LAMMPS (");
} }