diff --git a/syft/pkg/cataloger/dotnet/parse_dotnet_portable_executable_test.go b/syft/pkg/cataloger/dotnet/parse_dotnet_portable_executable_test.go index f48ec988e45..d7463a28e57 100644 --- a/syft/pkg/cataloger/dotnet/parse_dotnet_portable_executable_test.go +++ b/syft/pkg/cataloger/dotnet/parse_dotnet_portable_executable_test.go @@ -49,11 +49,11 @@ func TestParseDotnetPortableExecutable(t *testing.T) { name: "dotnet package with malformed field and extended version", versionResources: map[string]string{ "CompanyName": "Microsoft Corporation", - "FileDescription": "äbFile\xa0\xa1Versi on", + "FileDescription": "äbFile\xa0\xa1Versi on", "FileVersion": "4.6.25512.01 built by: dlab-DDVSOWINAGE016. Commit Hash: d0d5c7b49271cadb6d97de26d8e623e98abdc8db", - "InternalName": "äbFileVersion", + "InternalName": "äbFileVersion", "LegalCopyright": "© Microsoft Corporation. All rights reserved.", - "OriginalFilename": "TProductName", + "OriginalFilename": "TProductName", "ProductName": "Microsoft® .NET Framework", "ProductVersion": "4.6.25512.01 built by: dlab-DDVSOWINAGE016. Commit Hash: d0d5c7b49271cadb6d97de26d8e623e98abdc8db", }, @@ -64,7 +64,7 @@ func TestParseDotnetPortableExecutable(t *testing.T) { PURL: "pkg:nuget/%C3%A4bFileVersi%20on@4.6.25512.01", Metadata: pkg.DotnetPortableExecutableEntry{ LegalCopyright: "© Microsoft Corporation. All rights reserved.", - InternalName: "äbFileVersion", + InternalName: "äb\x01FileVersion", CompanyName: "Microsoft Corporation", ProductName: "Microsoft® .NET Framework", ProductVersion: "4.6.25512.01 built by: dlab-DDVSOWINAGE016. Commit Hash: d0d5c7b49271cadb6d97de26d8e623e98abdc8db",