Skip to content

Commit 3df9a76

Browse files
authored
Merge pull request mono#4 from luhenry/master
Make -test have the same behavior as with nunit
2 parents 690603b + 230d40c commit 3df9a76

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

NUnitLite-1.0.0/src/framework/Internal/Filters/SimpleNameFilter.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ public void Add(string name)
8484
public override bool Match( ITest test )
8585
{
8686
foreach( string name in names )
87+
#if MONO
88+
if ( test.FullName.StartsWith (name) )
89+
#else
8790
if ( test.FullName == name )
91+
#endif
8892
return true;
8993

9094
return false;

0 commit comments

Comments
 (0)