@@ -1065,31 +1065,27 @@ reallyLongDecimal: 3.9999999999999990
10651065
10661066 Describe ' StringQuotingEmitter' {
10671067 BeforeAll {
1068- $oldYamlPkgUrl = ' https://www.nuget.org/api/v2/package/YamlDotNet/11.2.1 '
1069- $pkgPath = Join-Path - Path $TestDrive - ChildPath ' YamlDotNet-11.2.1 .nupkg'
1070- $oldYamlPkgDirPath = Join-Path - Path $TestDrive - ChildPath ' YamlDotNet-11.2.1 '
1068+ $oldYamlPkgUrl = ' https://www.nuget.org/api/v2/package/YamlDotNet/16.3.0 '
1069+ $pkgPath = Join-Path - Path $TestDrive - ChildPath ' YamlDotNet-16.3.0 .nupkg'
1070+ $oldYamlPkgDirPath = Join-Path - Path $TestDrive - ChildPath ' YamlDotNet-16.3.0 '
10711071 $ProgressPreference = ' SilentlyContinue'
10721072 Invoke-WebRequest - Uri $oldYamlPkgUrl - UseBasicParsing - OutFile $pkgPath
10731073 New-Item - Path $oldYamlPkgDirPath - ItemType Directory
10741074 Add-Type - AssemblyName ' System.IO.Compression.FileSystem'
10751075 [IO.Compression.ZipFile ]::ExtractToDirectory($pkgPath , $oldYamlPkgDirPath )
10761076 }
10771077
1078- $targetFrameworks = @ (' net45' , ' netstandard1.3' )
1079- if ($PSVersionTable [' PSEdition' ] -eq ' Core' )
1080- {
1081- $targetFrameworks = @ (' netstandard1.3' , ' netstandard2.1' )
1082- }
1078+ $targetFrameworks = @ (' netstandard2.0' )
10831079
10841080 It ' can be compiled on import with <_>/YamlDotNet.dll loaded' - ForEach $targetFrameworks {
10851081 $targetFramework = $_
10861082 $yamlDotnetAssemblyPath =
1087- Join-Path - Path $TestDrive - ChildPath " YamlDotNet-11.2.1 \lib\${targetFramework} \YamlDotNet.dll" - Resolve
1083+ Join-Path - Path $TestDrive - ChildPath " YamlDotNet-16.3.0 \lib\${targetFramework} \YamlDotNet.dll" - Resolve
10881084 $modulePath = Join-Path - Path $PSScriptRoot - ChildPath ' ..\powershell-yaml.psd1' - Resolve
10891085
10901086 {
10911087 # Do this in the background because YamlDotNet.dll is already loaded in this session and the way we
1092- # found to reproduce this issue is by loading YamlDotNet 11.2.1 then importing powershell-yaml.
1088+ # found to reproduce this issue is by loading YamlDotNet 16.3.0 then importing powershell-yaml.
10931089 Start-Job {
10941090 $yamlDotnetAssemblyPath = $using :yamlDotnetAssemblyPath
10951091 $modulePath = $using :modulePath
0 commit comments