Revert work-around in Json.Tests.ps1

This resolves #627.
This commit is contained in:
Andrew Schwartzmeyer 2016-03-14 13:39:32 -07:00
parent c87d99bba0
commit 5901e70dd0

View file

@ -6,12 +6,7 @@
Describe "Json.NET LINQ Parsing" {
# load third party Json.NET library
if ([string]::IsNullOrEmpty($env:CORE_ROOT)) {
$base = [System.AppContext]::BaseDirectory
} else {
$base = $env:CORE_ROOT
}
$base = [System.AppContext]::BaseDirectory
$path = Join-Path $base Newtonsoft.Json.dll
[Microsoft.PowerShell.CoreCLR.AssemblyExtensions]::LoadFrom($path)