File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public class Manifest
26
26
/// <summary>
27
27
/// Supported versions of Library Manager
28
28
/// </summary>
29
- public static readonly Version [ ] SupportedVersions = { new Version ( "1.0" ) } ;
29
+ public static readonly Version [ ] SupportedVersions = { new Version ( "1.0" ) , new Version ( "3.0" ) } ;
30
30
private IHostInteraction _hostInteraction ;
31
31
private readonly List < ILibraryInstallationState > _libraries ;
32
32
private IDependencies _dependencies ;
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public void TestGetManifest()
36
36
command . DefaultProvider = "cdnjs" ;
37
37
command . Execute ( ) ;
38
38
39
- Assert . AreEqual ( "1 .0" , command . Manifest . Version ) ;
39
+ Assert . AreEqual ( "3 .0" , command . Manifest . Version ) ;
40
40
41
41
}
42
42
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public void TestInit()
39
39
string contents = File . ReadAllText ( libmanFilePath ) ;
40
40
41
41
string expectedContents = @"{
42
- ""version"": ""1 .0"",
42
+ ""version"": ""3 .0"",
43
43
""defaultProvider"": ""cdnjs"",
44
44
""defaultDestination"": ""wwwroot"",
45
45
""libraries"": []
@@ -69,7 +69,7 @@ public void TestInit_Interactive()
69
69
string contents = File . ReadAllText ( libmanFilePath ) ;
70
70
71
71
string expectedContents = @"{
72
- ""version"": ""1 .0"",
72
+ ""version"": ""3 .0"",
73
73
""defaultProvider"": ""cdnjs"",
74
74
""libraries"": []
75
75
}" ;
@@ -95,7 +95,7 @@ public void TestInit_UseDefault()
95
95
string contents = File . ReadAllText ( libmanFilePath ) ;
96
96
97
97
string expectedContents = @"{
98
- ""version"": ""1 .0"",
98
+ ""version"": ""3 .0"",
99
99
""defaultProvider"": ""unpkg"",
100
100
""libraries"": []
101
101
}" ;
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public void TestInstall_CleanDirectory()
36
36
37
37
string text = File . ReadAllText ( Path . Combine ( WorkingDir , "libman.json" ) ) ;
38
38
string expectedText = @"{
39
- ""version"": ""1 .0"",
39
+ ""version"": ""3 .0"",
40
40
""defaultProvider"": ""cdnjs"",
41
41
""libraries"": [
42
42
{
@@ -64,7 +64,7 @@ public void TestInstall_CleanDirectory_WithPromptForProvider()
64
64
65
65
string text = File . ReadAllText ( Path . Combine ( WorkingDir , "libman.json" ) ) ;
66
66
string expectedText = @"{
67
- ""version"": ""1 .0"",
67
+ ""version"": ""3 .0"",
68
68
""defaultProvider"": ""cdnjs"",
69
69
""libraries"": [
70
70
{
You can’t perform that action at this time.
0 commit comments