From 41d24c967eb5fce3f811fc567f60204c77dada15 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 8 Jan 2026 00:18:34 +0900 Subject: refactor: rewrite some tests in C --- tests/switch.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/switch.sh') diff --git a/tests/switch.sh b/tests/switch.sh index d5d3dae..e77e250 100644 --- a/tests/switch.sh +++ b/tests/switch.sh @@ -1,7 +1,7 @@ #!/bin/bash test_exit_code 0 <<'EOF' -#include "../../helpers.h" +#include int main() { int x = 2; @@ -24,7 +24,7 @@ int main() { EOF test_exit_code 0 <<'EOF' -#include "../../helpers.h" +#include int main() { int x = 5; @@ -47,7 +47,7 @@ int main() { EOF test_exit_code 0 <<'EOF' -#include "../../helpers.h" +#include int main() { int x = 2; @@ -68,7 +68,7 @@ int main() { EOF test_exit_code 0 <<'EOF' -#include "../../helpers.h" +#include int main() { int x = 1; @@ -96,7 +96,7 @@ int main() { EOF test_exit_code 0 <<'EOF' -#include "../../helpers.h" +#include int main() { int a = 3; @@ -120,7 +120,7 @@ int main() { EOF test_exit_code 0 <<'EOF' -#include "../../helpers.h" +#include int main() { int x = 2; @@ -148,7 +148,7 @@ int main() { EOF test_exit_code 0 <<'EOF' -#include "../../helpers.h" +#include int main() { int x = 1; @@ -172,7 +172,7 @@ int main() { EOF test_exit_code 0 <<'EOF' -#include "../../helpers.h" +#include int main() { int x = 10; -- cgit v1.2.3-70-g09d2