-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Properly reverted the original test case input.
Signed-off-by: HeyeOpenSource <[email protected]>
- Loading branch information
1 parent
ae360d2
commit f7017a1
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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%[email protected]", | ||
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", | ||
|