Skip to content

Commit

Permalink
test: add System.Net.Http and NETStandard.Library to test file
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Jul 17, 2024
1 parent afe12b4 commit ca87c12
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 7 deletions.
12 changes: 6 additions & 6 deletions pkg/dependency/parser/dotnet/core_deps/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ func TestParse(t *testing.T) {
Version: "2.0.61",
Locations: []ftypes.Location{
{
StartLine: 60,
EndLine: 66,
StartLine: 66,
EndLine: 72,
},
},
},
Expand All @@ -56,8 +56,8 @@ func TestParse(t *testing.T) {
Version: "1.9.1",
Locations: []ftypes.Location{
{
StartLine: 67,
EndLine: 73,
StartLine: 73,
EndLine: 79,
},
},
},
Expand All @@ -67,8 +67,8 @@ func TestParse(t *testing.T) {
Version: "1.3.0",
Locations: []ftypes.Location{
{
StartLine: 88,
EndLine: 94,
StartLine: 101,
EndLine: 107,
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@
"System.Collections.Immutable": "1.3.0"
}
},
"Microsoft.NETCore.Platforms/1.1.0": {}
"Microsoft.NETCore.Platforms/1.1.0": {},
"NETStandard.Library/1.6.0": {
"dependencies": {
"System.Net.Http": "4.1.0"
}
},
"System.Net.Http/4.1.0": {}
}
},
"libraries": {
Expand Down Expand Up @@ -85,12 +91,26 @@
"path": "microsoft.netcore.platforms/1.1.0",
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
},
"NETStandard.Library/1.6.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ypsCvIdCZ4IoYASJHt6tF2fMo7N30NLgV1EbmC+snO490OMl9FvVxmumw14rhReWU3j3g7BYudG6YCrchwHJlA==",
"path": "netstandard.library/1.6.0",
"hashPath": "netstandard.library.1.6.0.nupkg.sha512"
},
"System.Collections.Immutable/1.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zukBRPUuNxwy9m4TGWLxKAnoiMc9+B+8VXeXVyPiBPvOd7yLgAlZ1DlsRWJjMx4VsvhhF2+6q6kO2GRbPja6hA==",
"path": "system.collections.immutable/1.3.0",
"hashPath": "system.collections.immutable.1.3.0.nupkg.sha512"
},
"System.Net.Http/4.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ULq9g3SOPVuupt+Y3U+A37coXzdNisB1neFCSKzBwo182u0RDddKJF8I5+HfyXqK6OhJPgeoAwWXrbiUXuRDsg==",
"path": "system.net.http/4.1.0",
"hashPath": "system.net.http.4.1.0.nupkg.sha512"
}
}
}

0 comments on commit ca87c12

Please sign in to comment.