File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
tests/FSharp.Test.Utilities Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -289,10 +289,7 @@ module rec CompilerAssertHelpers =
289
289
member x.ExecuteTestCase assemblyPath ( deps : string []) =
290
290
AppDomain.CurrentDomain.add_ AssemblyResolve( ResolveEventHandler( fun _ args ->
291
291
deps
292
- |> Array.tryFind ( fun ( x : string ) -> Path.GetFileNameWithoutExtension x = args.Name)
293
- |> Option.orElseWith ( fun () ->
294
- deps
295
- |> Array.tryFind ( fun ( x : string ) -> args.Name.StartsWith( Path.GetFileNameWithoutExtension( x) + " , Version" )))
292
+ |> Array.tryFind ( fun ( x : string ) -> Path.GetFileNameWithoutExtension x = AssemblyName( args.Name) .Name)
296
293
|> Option.bind ( fun x -> if FileSystem.FileExistsShim x then Some x else None)
297
294
|> Option.map Assembly.LoadFile
298
295
|> Option.defaultValue null ))
You can’t perform that action at this time.
0 commit comments