@@ -24,7 +24,7 @@ public async Task GetTemplates_Should_Return_AllTemplates()
2424 {
2525 // Arrange
2626 var executor = new Mock < ICommandExecutor > ( ) ;
27- executor . Setup ( expression : c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new -- list", null , - 1 ) )
27+ executor . Setup ( expression : c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new list", null , - 1 ) )
2828 . ReturnsAsync ( new CommandResult
2929 {
3030 ExitCode = 0 ,
@@ -59,7 +59,7 @@ public async Task InstallTemplates_Should_Return_InstalledTemplates()
5959 {
6060 // Arrange
6161 var executor = new Mock < ICommandExecutor > ( ) ;
62- executor . SetupSequence ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new -- list", null , - 1 ) )
62+ executor . SetupSequence ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new list", null , - 1 ) )
6363 . ReturnsAsync ( new CommandResult
6464 {
6565 ExitCode = 0 ,
@@ -82,7 +82,7 @@ Other New Template ont bigtalk otherstuff
8282" ,
8383 }
8484 ) ;
85- executor . Setup ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new -- install My.Templates", null , - 1 ) )
85+ executor . Setup ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new install My.Templates", null , - 1 ) )
8686 . ReturnsAsync ( new CommandResult
8787 {
8888 ExitCode = 0 ,
@@ -111,7 +111,7 @@ public async Task UninstallTemplates_Should_Return_UninstalledTemplates()
111111 {
112112 // Arrange
113113 var executor = new Mock < ICommandExecutor > ( ) ;
114- executor . SetupSequence ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new -- list", null , - 1 ) )
114+ executor . SetupSequence ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new list", null , - 1 ) )
115115 . ReturnsAsync ( new CommandResult
116116 {
117117 ExitCode = 0 ,
@@ -134,7 +134,7 @@ My Other Template myot otherlang othertags
134134" ,
135135 }
136136 ) ;
137- executor . Setup ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new -- uninstall My.Templates", null , - 1 ) )
137+ executor . Setup ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new uninstall My.Templates", null , - 1 ) )
138138 . ReturnsAsync ( new CommandResult
139139 {
140140 ExitCode = 0 ,
@@ -296,7 +296,7 @@ public async Task InstallTemplates_UnknownNuGet_Should_Return_BadRequest()
296296 {
297297 // Arrange
298298 var executor = new Mock < ICommandExecutor > ( ) ;
299- executor . Setup ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new -- list", null , - 1 ) )
299+ executor . Setup ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new list", null , - 1 ) )
300300 . ReturnsAsync ( new CommandResult
301301 {
302302 ExitCode = 0 ,
@@ -308,7 +308,7 @@ My Other Template myot otherlang othertags
308308 }
309309 ) ;
310310 executor . Setup ( c =>
311- c . ExecuteAsync ( $ "{ NetCoreTool . Command } new -- install No.Such.Template", null , - 1 ) )
311+ c . ExecuteAsync ( $ "{ NetCoreTool . Command } new install No.Such.Template", null , - 1 ) )
312312 . ReturnsAsync ( new CommandResult
313313 {
314314 ExitCode = 2 ,
@@ -335,7 +335,7 @@ public async Task UninstallTemplates_UnknownNuGet_Should_Return_NotFound()
335335 {
336336 // Arrange
337337 var executor = new Mock < ICommandExecutor > ( ) ;
338- executor . Setup ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new -- list", null , - 1 ) )
338+ executor . Setup ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new list", null , - 1 ) )
339339 . ReturnsAsync ( new CommandResult
340340 {
341341 ExitCode = 0 ,
@@ -344,7 +344,7 @@ public async Task UninstallTemplates_UnknownNuGet_Should_Return_NotFound()
344344" ,
345345 }
346346 ) ;
347- executor . Setup ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new -- uninstall My.Templates", null , - 1 ) )
347+ executor . Setup ( c => c . ExecuteAsync ( $ "{ NetCoreTool . Command } new uninstall My.Templates", null , - 1 ) )
348348 . ReturnsAsync ( new CommandResult
349349 {
350350 ExitCode = 0 ,
0 commit comments