diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Commongrams/TestCommonGramsFilterFactory.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Commongrams/TestCommonGramsFilterFactory.cs index c568ffe115..063fc1b22b 100644 --- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Commongrams/TestCommonGramsFilterFactory.cs +++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Commongrams/TestCommonGramsFilterFactory.cs @@ -83,7 +83,7 @@ public virtual void TestDefaults() [Test] public void TestIgnoreCase() { - IResourceLoader loader = new ClasspathResourceLoader(typeof(TestAnalyzers)); + IResourceLoader loader = new ClasspathResourceLoader(GetType()); CommonGramsFilterFactory factory = (CommonGramsFilterFactory) TokenFilterFactory("CommonGrams", TEST_VERSION_CURRENT, loader, "ignoreCase", "true");