Cleaning up indentation on raw string literals #783
validate_pull_request.yml
on: pull_request
Run Tests
1m 14s
Check Formatting
24s
Build CSharpier.MSBuild
1m 1s
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/
|