Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
fix testname regex (#2072)
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Kenney <charlesc.kenney@gmail.com>
  • Loading branch information
0xch4z authored and ramya-rao-a committed Nov 9, 2018
1 parent d6b0f63 commit ec0d767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ statusBarItem.text = '$(x) Cancel Running Tests';
*/
const runningTestProcesses: cp.ChildProcess[] = [];

const testFuncRegex = /^Test.+|^Example.+/;
const testFuncRegex = /^Test.*|^Example.*/;
const testMethodRegex = /^\(([^)]+)\)\.(Test.*)$/;
const benchmarkRegex = /^Benchmark.+/;
const benchmarkRegex = /^Benchmark.*/;

/**
* Input to goTest.
Expand Down

0 comments on commit ec0d767

Please sign in to comment.