From bf6bcb4933de90e421b5cc8d963f4ec47f6a99a5 Mon Sep 17 00:00:00 2001 From: Mark van den Broek Date: Mon, 30 Oct 2017 20:07:50 +0100 Subject: [PATCH] Adds regex to handle tests with or without data sets. --- sublime-phpunit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sublime-phpunit.py b/sublime-phpunit.py index 259d76f..3b72ec8 100644 --- a/sublime-phpunit.py +++ b/sublime-phpunit.py @@ -41,7 +41,7 @@ def get_current_function(self, view): if r.a < sel.a: cf = view.substr(r) break - return cf + return cf + '(.*)' def find_phpunit_config(self, file_name): phpunit_config_path = file_name