From 4fe64d6752eae233c07ad00045434dd076c935c2 Mon Sep 17 00:00:00 2001 From: Matias Lindgren Date: Mon, 20 May 2024 15:52:24 +0200 Subject: [PATCH] fix main ret code test --- .github/workflows/cpp.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cpp.yaml b/.github/workflows/cpp.yaml index 9478924..42437c0 100644 --- a/.github/workflows/cpp.yaml +++ b/.github/workflows/cpp.yaml @@ -33,4 +33,4 @@ jobs: - name: test run: make CXX=clang-18 test && ./test - name: main - run: make CXX=clang-18 main && ./main || [ "$?" -eq 50 ] || echo "expected main to exit with 50" && exit 1 + run: make CXX=clang-18 main && ./main || [ "$?" -eq 50 ]