From 78d288480f0eac9676919c9f6696fdb41030740c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 30 Mar 2022 15:19:46 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/interpreter-test-runfile.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/interpreter-test-runfile.cc b/tests/interpreter-test-runfile.cc index de10636..9ff3254 100644 --- a/tests/interpreter-test-runfile.cc +++ b/tests/interpreter-test-runfile.cc @@ -53,14 +53,14 @@ int main(int argc, char** argv) { // This test succeeds only because it is launched before "test_python-ok.py" // because re as been imported in a previous test and it is not // safe to delete imported module... - res = testFile( - PATH "test_python-name_error.py", - std::string("Traceback (most recent call last):\n" - " File \"" PATH - "test_python-name_error.py\", line 7, in <module>\n" - " pathList = re.split(\":\", pkgConfigPath) # noqa\n" - "NameError: name 're' is not defined\n"), - numTest) && + res = testFile(PATH "test_python-name_error.py", + std::string( + "Traceback (most recent call last):\n" + " File \"" PATH + "test_python-name_error.py\", line 7, in <module>\n" + " pathList = re.split(\":\", pkgConfigPath) # noqa\n" + "NameError: name 're' is not defined\n"), + numTest) && res; res = testFile(PATH "test_python-ok.py", "", numTest) && res; -- GitLab