Skip to content

Commit

Permalink
Add back redundant override of TestRegexps in case some test runners …
Browse files Browse the repository at this point in the history
…don't report failures correctly
  • Loading branch information
paulirwin committed Feb 25, 2024
1 parent a4b5a61 commit 5498084
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Lucene.Net.Tests/Search/TestFieldCacheRewriteMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,17 @@ public virtual void TestEquals()
Assert.IsFalse(a1.Equals(b));
QueryUtils.Check(a1);
}

// LUCENENET NOTE: Tests in a base class are not pulled into the correct
// context in Visual Studio or Azure DevOps. This fixes that with the minimum amount of code necessary
// to run them in the correct context without duplicating all of the tests.

/// <summary>
/// test a bunch of random regular expressions </summary>
[Test]
public override void TestRegexps()
{
base.TestRegexps();
}
}
}

0 comments on commit 5498084

Please sign in to comment.