From 210679f02087c925e654f9511a4f4d6e8954c3bc Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 22 May 2024 12:05:29 -0700 Subject: [PATCH] Use the test_cmd by default --- aider/commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aider/commands.py b/aider/commands.py index affa5af5e..146cb5dbd 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -534,6 +534,8 @@ class Commands: def cmd_test(self, args): "Run a shell command and add the output to the chat on non-zero exit code" + if not args and self.coder.test_cmd: + args = self.coder.test_cmd return self.cmd_run(args, True)