From 7172d1bdd1d1b7157a285d168f09b48e8db0a7d5 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 1 Feb 2023 03:53:32 -0500 Subject: [PATCH] correct syntax error --- unittest/fortran/wrap_gather_scatter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/fortran/wrap_gather_scatter.cpp b/unittest/fortran/wrap_gather_scatter.cpp index 02d9f1d487..bbadbbc1a7 100644 --- a/unittest/fortran/wrap_gather_scatter.cpp +++ b/unittest/fortran/wrap_gather_scatter.cpp @@ -51,7 +51,7 @@ protected: { ::testing::internal::CaptureStdout(); 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(); EXPECT_STREQ(output.substr(0, 8).c_str(), "LAMMPS ("); }