Skip to content

Commit

Permalink
remove redundant requestedName != null check (#4433)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored Dec 23, 2024
1 parent 2564c52 commit db7191d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ protected virtual
return null;
}

DebugEx.Assert(requestedName != null && !StringEx.IsNullOrEmpty(requestedName.Name), "MSTest.AssemblyResolver.OnResolve: requested is null or name is empty!");
DebugEx.Assert(!StringEx.IsNullOrEmpty(requestedName.Name), "MSTest.AssemblyResolver.OnResolve: requested name is empty!");

foreach (string dir in searchDirectorypaths)
{
Expand Down

0 comments on commit db7191d

Please sign in to comment.