Fixing extra blank line in xml formatting #256
ValidatePullRequest.yml
on: pull_request
Run Tests
1m 12s
No Warnings
56s
Builds Playground
1m 1s
Check Formatting
13s
Check TODOs
8s
Matrix: Test CSharpier.MSBuild
Annotations
19 errors
|
No Warnings
Process completed with exit code 1.
|
|
No Warnings:
Src/CSharpier.Cli/ConsoleLogger.cs#L7
The type or namespace name 'Lock' could not be found (are you missing a using directive or an assembly reference?)
|
|
No Warnings:
Src/CSharpier.Cli/ConsoleLogger.cs#L7
The type or namespace name 'Lock' could not be found (are you missing a using directive or an assembly reference?)
|
|
Test CSharpier.MSBuild (ubuntu-latest)
Process completed with exit code 1.
|
|
Test CSharpier.MSBuild (ubuntu-latest)
The TestCase UnformattedFileCausesWarning did not return an exit code of 0
|
|
Test CSharpier.MSBuild (ubuntu-latest)
The scenario sdk-8.0_csharpier-net8.0 failed to build. See the logs above for details
|
|
Test CSharpier.MSBuild (ubuntu-latest)
The scenario sdk-8.0_net6.0;net7.07 failed to build. See the logs above for details
|
|
Test CSharpier.MSBuild (ubuntu-latest)
The scenario sdk-8.0_net8.0-windows failed to build. See the logs above for details
|
|
Test CSharpier.MSBuild (ubuntu-latest)
The scenario sdk-8.0_netstandard2.0 failed to build. See the logs above for details
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Cli/ConsoleLogger.cs#L7
The type or namespace name 'Lock' could not be found (are you missing a using directive or an assembly reference?)
|
|
Test CSharpier.MSBuild (ubuntu-latest):
Src/CSharpier.Cli/ConsoleLogger.cs#L7
The type or namespace name 'Lock' could not be found (are you missing a using directive or an assembly reference?)
|
|
Test CSharpier.MSBuild (windows-latest)
The strategy configuration was canceled because "test_msbuild.ubuntu-latest" failed
|
|
Test CSharpier.MSBuild (windows-latest)
The operation was canceled.
|
|
Run Tests
Process completed with exit code 1.
|
|
XmlDeclarationWorksWithMapping:
Src/CSharpier.Tests/obj/Release/net10.0/generated/CSharpier.Tests.Generators/CSharpier.Tests.Generators.FormattingTestsGenerator/FormattingTests_xml.cs#L109
Expected normalizedCode to be a match with the expectation, but it differs at index 15:
↓ (actual)
"…version=""?>\n<Sequence>\n <SequenceOf name="Policies" optional="true">\n <AsnType…"
"…version="1.0" encoding="utf-8"?>\n<Sequence>\n <SequenceOf name="Policies" option…"
↑ (expected)
Full expectation:
"<?xml version="1.0" encoding="utf-8"?>
<Sequence>
<SequenceOf name="Policies" optional="true">
<AsnType typeName="System.Security.Cryptography.Pkcs.Asn1.PolicyInformation" />
</SequenceOf>
</Sequence>
",
Full subject:
"<?xml version=""?>
<Sequence>
<SequenceOf name="Policies" optional="true">
<AsnType typeName="System.Security.Cryptography.Pkcs.Asn1.PolicyInformation" />
</SequenceOf>
</Sequence>
"
|
|
PrefixedElementNames:
Src/CSharpier.Tests/obj/Release/net10.0/generated/CSharpier.Tests.Generators/CSharpier.Tests.Generators.FormattingTestsGenerator/FormattingTests_xml.cs#L94
Expected normalizedCode to be a match with the expectation, but it differs at index 15:
↓ (actual)
"…version=""?>\n<asn:Sequence\n xmlns:asn="http://schemas.dot.net/asnxml/201808/"\n …"
"…version="1.0" encoding="utf-8"?>\n<asn:Sequence\n xmlns:asn="http://schemas.dot.n…"
↑ (expected)
Full expectation:
"<?xml version="1.0" encoding="utf-8"?>
<asn:Sequence
xmlns:asn="http://schemas.dot.net/asnxml/201808/"
name="SigningCertificateAsn"
namespace="System.Security.Cryptography.Pkcs.Asn1"
></asn:Sequence>
",
Full subject:
"<?xml version=""?>
<asn:Sequence
xmlns:asn="http://schemas.dot.net/asnxml/201808/"
name="SigningCertificateAsn"
namespace="System.Security.Cryptography.Pkcs.Asn1"
></asn:Sequence>
"
|
|
EmptyLines:
Src/CSharpier.Tests/obj/Release/net10.0/generated/CSharpier.Tests.Generators/CSharpier.Tests.Generators.FormattingTestsGenerator/FormattingTests_xml.cs#L74
Expected normalizedCode to be a match with the expectation, but it differs at index 15:
↓ (actual)
"…version=""?>\n\n<Root>\n <Element />\n <Element />\n\n <Element />\n\n <Element>\n …"
"…version="1.0" encoding="utf-8"?>\n\n<Root>\n <Element />\n <Element />\n\n <Element />\n\n…"
↑ (expected)
Full expectation:
"<?xml version="1.0" encoding="utf-8"?>
<Root>
<Element />
<Element />
<Element />
<Element>
<ChildElement />
<ChildElement />
</Element>
</Root>
",
Full subject:
"<?xml version=""?>
<Root>
<Element />
<Element />
<Element />
<Element>
<ChildElement />
<ChildElement />
</Element>
</Root>
"
|
|
RetainXmlElement:
Src/CSharpier.Tests/obj/Release/net10.0/generated/CSharpier.Tests.Generators/CSharpier.Tests.Generators.FormattingTestsGenerator/FormattingTests_xml.cs#L99
Expected normalizedCode to be a match with the expectation, but it differs at index 15:
↓ (actual)
"…version=""?>\n<Project></Project>\n"
"…version="1.0" encoding="utf-8"?>\n<Project></Project>\n"
↑ (expected)
|
|
Run Tests:
Src/CSharpier.Cli/ConsoleLogger.cs#L7
The type or namespace name 'Lock' could not be found (are you missing a using directive or an assembly reference?)
|