From 25802b71ebcf17760bcc3034f366a54aacc4c450 Mon Sep 17 00:00:00 2001 From: Raphael Amorim Date: Sat, 23 May 2026 11:24:19 +0200 Subject: [PATCH] format code --- tests/cpp/test_codegen_errors.cpp | 3 +-- tests/cpp/test_diagnostics.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/cpp/test_codegen_errors.cpp b/tests/cpp/test_codegen_errors.cpp index 9c998f0..1adc94a 100644 --- a/tests/cpp/test_codegen_errors.cpp +++ b/tests/cpp/test_codegen_errors.cpp @@ -44,8 +44,7 @@ CompileResult compileSource(const std::string &name, // colliding with the build tree's `output/` directory when the // tests run from the project root. std::string outBin = "/tmp/" + name + ".bin"; - std::string cmd = - "./output/jam.out -o " + outBin + " " + path + " 2>&1"; + std::string cmd = "./output/jam.out -o " + outBin + " " + path + " 2>&1"; std::string output; FILE *pipe = popen(cmd.c_str(), "r"); diff --git a/tests/cpp/test_diagnostics.cpp b/tests/cpp/test_diagnostics.cpp index 1b8c67b..ed70566 100644 --- a/tests/cpp/test_diagnostics.cpp +++ b/tests/cpp/test_diagnostics.cpp @@ -31,8 +31,7 @@ CompileResult compileSource(const std::string &name, // Explicit `-o` avoids the default output name (`./output`) // colliding with the build tree's `output/` directory. std::string outBin = "/tmp/" + name + ".bin"; - std::string cmd = - "./output/jam.out -o " + outBin + " " + path + " 2>&1"; + std::string cmd = "./output/jam.out -o " + outBin + " " + path + " 2>&1"; std::string output; FILE *pipe = popen(cmd.c_str(), "r"); -- 2.51.2