File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ public void Resolve_NotRegistered_ContainerException()
2525
2626 var ex = Assert . Throws < ContainerException > ( ( ) => _provider . Resolve < NonDepFoo > ( ) ) ;
2727 Assert . That ( ex . Message , Does . StartWith ( "code: Error.UnableToResolveUnknownService" ) ) ;
28- Assert . That ( ex . Message , Does . Contain ( "Unable to resolve Resolution root NonDepFoo" ) ) ;
28+ Assert . That ( ex . Message , Does . Contain ( "Unable to resolve Resolution root" ) ) ;
29+ Assert . That ( ex . Message , Does . Contain ( "NonDepFoo" ) ) ;
2930 }
3031
3132 [ Test ]
@@ -36,7 +37,8 @@ public void ScopedResolve_NotRegistered_ContainerException()
3637
3738 var ex = Assert . Throws < ContainerException > ( ( ) => scope . Resolver . Resolve < NonDepFoo > ( ) ) ;
3839 Assert . That ( ex . Message , Does . StartWith ( "code: Error.UnableToResolveUnknownService" ) ) ;
39- Assert . That ( ex . Message , Does . Contain ( "Unable to resolve Resolution root NonDepFoo" ) ) ;
40+ Assert . That ( ex . Message , Does . Contain ( "Unable to resolve Resolution root" ) ) ;
41+ Assert . That ( ex . Message , Does . Contain ( "NonDepFoo" ) ) ;
4042 }
4143
4244 [ Test ]
You can’t perform that action at this time.
0 commit comments