Skip to content

Commit 0a47fbe

Browse files
committed
fix: call the correct methods
Signed-off-by: Timo Notheisen <timo.notheisen@js-soft.com>
1 parent 55ddf70 commit 0a47fbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ArchUnitNET/Fluent/Syntax/Elements/Types/TypePredicatesDefinition.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ public static IPredicate<T> ResideInAssembly(string fullName)
368368
public static IPredicate<T> ResideInAssemblyMatching(string pattern)
369369
{
370370
return new SimplePredicate<T>(
371-
type => type.ResidesInAssembly(pattern),
371+
type => type.ResidesInAssemblyMatching(pattern),
372372
"reside in assembly with full name matching \"" + pattern + "\""
373373
);
374374
}
@@ -681,7 +681,7 @@ public static IPredicate<T> DoNotResideInNamespace(string fullName)
681681
public static IPredicate<T> DoNotResideInNamespaceMatching(string pattern)
682682
{
683683
return new SimplePredicate<T>(
684-
type => !type.ResidesInNamespace(pattern),
684+
type => !type.ResidesInNamespaceMatching(pattern),
685685
"do not reside in namespace with full name matching \"" + pattern + "\""
686686
);
687687
}

0 commit comments

Comments
 (0)