We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eeee55 commit cb500feCopy full SHA for cb500fe
test/Templates.Test/Helpers/TemplatePackageInstaller.cs
@@ -41,7 +41,11 @@ private static void ReinstallTemplatePackages(ITestOutputHelper output)
41
Directory.GetCurrentDirectory(),
42
"dotnet",
43
$"new --uninstall {packageName}");
44
- proc.WaitForExit(assertSuccess: true);
+
45
+ // We don't need this command to succeed, because we'll verify next that
46
+ // uninstallation had the desired effect. This command is expected to fail
47
+ // in the case where the package wasn't previously installed.
48
+ proc.WaitForExit(assertSuccess: false);
49
}
50
51
VerifyCannotFindTemplate(output, "ASP.NET Core Empty");
0 commit comments