Skip to content

Cleaning up indentation on raw string literals #783

Cleaning up indentation on raw string literals

Cleaning up indentation on raw string literals #783

Triggered via pull request October 26, 2023 16:22
Status Failure
Total duration 1m 26s
Artifacts

validate_pull_request.yml

on: pull_request
Run Tests
1m 14s
Run Tests
Check Formatting
24s
Check Formatting
Build CSharpier.MSBuild
1m 1s
Build CSharpier.MSBuild
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
RawStringLiterals: Src/CSharpier.Tests/CSharpier.Tests.Generators/CSharpier.Tests.Generators.FormattingTestsGenerator/FormattingTests.cs#L602
Expected normalizedCode to be "var someString = """ Indent based on previous line """; var someString = """ Indent based on previous line This should stay indented """; var doNotIndentIfEndDelimiterIsAtZero = """ Keep This Where It Is """; var someOneWantsThisMuchIndentation = """ <element attr="content"> <body> </body> </element> """; var whatAboutWhiteSpace = """ Four Spaces That last line is only two """; var whatAboutWhiteSpace = """ Four Spaces That last line is six """; " with a length of 561, but "var someString = """ Indent based on previous line """; var someString = """ Indent based on previous line This should stay indented """; var doNotIndentIfEndDelimiterIsAtZero = """ Keep This Where It Is """; var someOneWantsThisMuchIndentation = """ <element attr="content"> <body> </body> </element> """; var whatAboutWhiteSpace = """ Four Spaces That last line is only two """; var whatAboutWhiteSpace = """ Four Spaces That last line is six """; " has a length of 553, differs near " " (index 429).
Run Tests
Process completed with exit code 1.
Check Formatting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build CSharpier.MSBuild
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/