Skip to content

Commit

Permalink
changed test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
vlada-shubina committed Apr 18, 2023
1 parent 090b6e5 commit 6bc6333
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Tests/dotnet-new.Tests/DotnetNewLocaleTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,11 @@ public void SkipsLocalizationOnInstall_WhenLocalizationValidationFails()

string[] expectedErrors = new[]
{
@$"Warning: [{testTemplateLocation + Path.DirectorySeparatorChar}.template.config/template.json]: id of the post action 'pa2' at index '3' is not unique. Only the first post action that uses this id will be localized.",
"""
Warning: The template 'name' (TestAssets.Invalid.Localiation.ValidationFailure) has the following validation warnings:
[Warning][CONFIG0201] Id of the post action 'pa2' at index '3' is not unique. Only the first post action that uses this id will be localized.
""",
"""
Error: The template 'name' (TestAssets.Invalid.Localiation.ValidationFailure) has the following validation errors in 'de-DE' localization:
[Error][LOC001] In localization file under the post action with id 'pa1', there are localized strings for manual instruction(s) with ids 'do-not-exist'. These manual instructions do not exist in the template.json file and should be removed from localization file.
Expand Down

0 comments on commit 6bc6333

Please sign in to comment.