You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -594,7 +604,7 @@ public void Create_CanHandleNoProjectOptionProvided_WithNoProjects()
594
604
varapp=newProgram(_console);
595
605
app.Run(new[]{"create"});
596
606
597
-
Assert.Contains("No project found at `-p|--project` path or current directory.",_console.GetOutput());
607
+
Assert.Contains($"Could not find a MSBuild project file in '{Directory.GetCurrentDirectory()}'. Specify which project to use with the --project option.",_console.GetOutput());
@@ -607,7 +617,7 @@ public void Delete_CanHandleNoProjectOptionProvided_WithNoProjects()
607
617
varapp=newProgram(_console);
608
618
app.Run(new[]{"remove","some-id"});
609
619
610
-
Assert.Contains("No project found at `-p|--project` path or current directory.",_console.GetOutput());
620
+
Assert.Contains($"Could not find a MSBuild project file in '{Directory.GetCurrentDirectory()}'. Specify which project to use with the --project option.",_console.GetOutput());
611
621
}
612
622
613
623
[Fact]
@@ -619,7 +629,7 @@ public void Clear_CanHandleNoProjectOptionProvided_WithNoProjects()
619
629
varapp=newProgram(_console);
620
630
app.Run(new[]{"clear"});
621
631
622
-
Assert.Contains("No project found at `-p|--project` path or current directory.",_console.GetOutput());
632
+
Assert.Contains($"Could not find a MSBuild project file in '{Directory.GetCurrentDirectory()}'. Specify which project to use with the --project option.",_console.GetOutput());
623
633
}
624
634
625
635
[Fact]
@@ -631,7 +641,19 @@ public void List_CanHandleNoProjectOptionProvided_WithNoProjects()
631
641
varapp=newProgram(_console);
632
642
app.Run(new[]{"list"});
633
643
634
-
Assert.Contains("No project found at `-p|--project` path or current directory.",_console.GetOutput());
644
+
Assert.Contains($"Could not find a MSBuild project file in '{Directory.GetCurrentDirectory()}'. Specify which project to use with the --project option.",_console.GetOutput());
0 commit comments