Fix line number tracking for invalid tagged template tokens + minor p… #14
Annotations
10 errors and 11 warnings
ubuntu-latest
[***Unit.net 00:00:09.60] Acornima.Tests.TokenizerTests.CanReadTemplate(input: "`a\\\rb`", strict: True, e***pectedCookedValue: "ab", e***pectedRawValue: "a\\\nb") [FAIL]
|
Acornima.Tests.TokenizerTests.CanReadTemplate(input: "`a\\\rb`":
_/test/Acornima.Tests/TokenizerTests.cs#L705
Assert.Equal() Failure: Strings differ
↓ (pos 2)
E***pected: "a\\\nb"
Actual: "a\\\rb"
↑ (pos 2)
|
ubuntu-latest
[***Unit.net 00:00:09.64] Acornima.Tests.TokenizerTests.CanReadTemplate(input: "`\\\r\\\n`", strict: True, e***pectedCookedValue: "", e***pectedRawValue: "\\\n\\\n") [FAIL]
|
ubuntu-latest
[***Unit.net 00:00:09.64] Acornima.Tests.TokenizerTests.CanReadTemplate(input: "`a\\\r\\\nb`", strict: True, e***pectedCookedValue: "ab", e***pectedRawValue: "a\\\n\\\nb") [FAIL]
|
Acornima.Tests.TokenizerTests.CanReadTemplate(input: "`\\\r\\\n`":
_/test/Acornima.Tests/TokenizerTests.cs#L705
Assert.Equal() Failure: Strings differ
↓ (pos 1)
E***pected: "\\\n\\\n"
Actual: "\\\r\\\n"
↑ (pos 1)
|
Acornima.Tests.TokenizerTests.CanReadTemplate(input: "`a\\\r\\\nb`":
_/test/Acornima.Tests/TokenizerTests.cs#L705
Assert.Equal() Failure: Strings differ
↓ (pos 2)
E***pected: "a\\\n\\\nb"
Actual: "a\\\r\\\nb"
↑ (pos 2)
|
ubuntu-latest
[***Unit.net 00:00:09.64] Acornima.Tests.TokenizerTests.CanReadTemplate(input: "`\\\r`", strict: True, e***pectedCookedValue: "", e***pectedRawValue: "\\\n") [FAIL]
|
Acornima.Tests.TokenizerTests.CanReadTemplate(input: "`\\\r`":
_/test/Acornima.Tests/TokenizerTests.cs#L705
Assert.Equal() Failure: Strings differ
↓ (pos 1)
E***pected: "\\\n"
Actual: "\\\r"
↑ (pos 1)
|
ubuntu-latest
[***Unit.net 00:00:14.40] Acornima.Tests.ParserTests.E***ecuteTestCase(fi***ture: "ES6/template-literals/escape-sequences.source.js") [FAIL]
|
Acornima.Tests.ParserTests.ExecuteTestCase(fixture: "ES6/template-literals/escape-sequences.source.js"):
_/test/Acornima.Tests/ParserTests.Fixtures.cs#L192
Assert.Equal() Failure: Strings differ
↓ (pos 276)
E***pected: ···"r\\\\b\\\\v\\\\t\\\\f\\\\\\n\\\\\\n",\n "co"···
Actual: ···"r\\\\b\\\\v\\\\t\\\\f\\\\\\n\\\\\\r\\n",\n ""···
↑ (pos 276)
|
ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
ubuntu-latest
/home/runner/work/acornima/acornima/src/Acornima/Helpers/ArrayList.cs(119,27): warning CA1822: Member 'AssertUnchanged' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822) [/home/runner/work/acornima/acornima/src/Acornima/Acornima.csproj::TargetFramework=net6.0]
|
ubuntu-latest
/home/runner/work/acornima/acornima/src/Acornima/Helpers/ArrayList.cs(130,18): warning CA1822: Member 'OnChanged' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822) [/home/runner/work/acornima/acornima/src/Acornima/Acornima.csproj::TargetFramework=net6.0]
|
ubuntu-latest
/home/runner/work/acornima/acornima/samples/Acornima.Cli/Program.cs(36,16): warning CA1822: Member 'OnE***ecute' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822) [/home/runner/work/acornima/acornima/samples/Acornima.Cli/Acornima.Cli.csproj::TargetFramework=net6.0]
|
ubuntu-latest
/home/runner/work/acornima/acornima/test/Acornima.Tests/ParserTests.Fi***tures.cs(133,17): warning CS0162: Unreachable code detected [/home/runner/work/acornima/acornima/test/Acornima.Tests/Acornima.Tests.csproj::TargetFramework=net8.0]
|
ubuntu-latest
/home/runner/work/acornima/acornima/test/Acornima.Tests/ParserTests.Fi***tures.cs(143,17): warning CS0162: Unreachable code detected [/home/runner/work/acornima/acornima/test/Acornima.Tests/Acornima.Tests.csproj::TargetFramework=net8.0]
|
ubuntu-latest
/home/runner/work/acornima/acornima/test/Acornima.Tests/ParserTests.Fi***tures.cs(154,17): warning CS0162: Unreachable code detected [/home/runner/work/acornima/acornima/test/Acornima.Tests/Acornima.Tests.csproj::TargetFramework=net8.0]
|
ubuntu-latest
/home/runner/work/acornima/acornima/src/Acornima/Helpers/ArrayList.cs(119,27): warning CA1822: Member 'AssertUnchanged' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822) [/home/runner/work/acornima/acornima/src/Acornima/Acornima.csproj::TargetFramework=net6.0]
|
ubuntu-latest
/home/runner/work/acornima/acornima/src/Acornima/Helpers/ArrayList.cs(130,18): warning CA1822: Member 'OnChanged' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822) [/home/runner/work/acornima/acornima/src/Acornima/Acornima.csproj::TargetFramework=net6.0]
|
ubuntu-latest
/home/runner/work/acornima/acornima/samples/Acornima.Cli/Program.cs(36,16): warning CA1822: Member 'OnE***ecute' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822) [/home/runner/work/acornima/acornima/samples/Acornima.Cli/Acornima.Cli.csproj::TargetFramework=net6.0]
|
ubuntu-latest
/home/runner/work/acornima/acornima/test/Acornima.Tests/ParserTests.Fi***tures.cs(133,17): warning CS0162: Unreachable code detected [/home/runner/work/acornima/acornima/test/Acornima.Tests/Acornima.Tests.csproj::TargetFramework=net8.0]
|