From f36f2fdea2a7e7db956862698730a2316e0a6ac5 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 17 Dec 2024 16:48:37 -0800 Subject: [PATCH] style: Fix typo in test file extension check --- benchmark/benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index e9b0e4425..c36ebc0c2 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -790,7 +790,7 @@ def run_unit_tests(testdir, history_fname, test_files): timeout = 60 # Choose test command based on test file extensions - is_rust = any(Path(f).suffix == '.rs' for f in test_files) + is_rust = any(Path(f).suffix == ".rs" for f in test_files) command = "cargo test -- --include-ignored".split() if is_rust else ["pytest"] print(" ".join(command))