Browse Source

Update ProjectNameValidation_Tests.cs

pull/10092/head
Yunus Emre Kalkan 5 years ago
parent
commit
d2dc246ab7
  1. 3
      framework/test/Volo.Abp.Cli.Core.Tests/Volo/Abp/Cli/ProjectNameValidation_Tests.cs

3
framework/test/Volo.Abp.Cli.Core.Tests/Volo/Abp/Cli/ProjectNameValidation_Tests.cs

@ -58,6 +58,9 @@ namespace Volo.Abp.Cli
{
var args = new CommandLineArgs("new", illegalKeyword);
await _newCommand.ExecuteAsync(args).ShouldThrowAsync<CliUsageException>();
args = new CommandLineArgs("new", "Acme." + illegalKeyword);
await _newCommand.ExecuteAsync(args).ShouldThrowAsync<CliUsageException>();
}
}

Loading…
Cancel
Save