From 2250b3daef14e9fdd042263bf17ffe730c3e4609 Mon Sep 17 00:00:00 2001 From: Will Cosgrove Date: Wed, 5 Mar 2025 16:58:20 -0600 Subject: [PATCH] Fix default tests not running when no path is given --- lib/quickdraw/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/quickdraw/cli.rb b/lib/quickdraw/cli.rb index 4bc6730..f7f7d17 100644 --- a/lib/quickdraw/cli.rb +++ b/lib/quickdraw/cli.rb @@ -55,7 +55,7 @@ def parse_options end def parse_files - @files = @args || "./**/*.test.rb" + @files = @args.empty? ? "./**/*.test.rb" : @args end def backtrace=(value)