From c03de8c5777a7f30a8ca24a634205b86be825502 Mon Sep 17 00:00:00 2001 From: Johan Holmberg Date: Thu, 6 Aug 2015 22:39:08 +0200 Subject: [PATCH] make --test work again need to convert Symbol -> String before compare --- bin/cmdtest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cmdtest.rb b/bin/cmdtest.rb index 4c6ad72..7278115 100755 --- a/bin/cmdtest.rb +++ b/bin/cmdtest.rb @@ -221,7 +221,7 @@ module Cmdtest def get_test_methods(runner) @testcase_class.public_instance_methods(false).sort.select do |method| - in_list = runner.opts.test.empty? || runner.opts.test.include?(method) + in_list = runner.opts.test.empty? || runner.opts.test.include?(method.to_s) method =~ /^test_/ && in_list end end