From fdb7ce10806005cfa753c6aad81729833aabb67b Mon Sep 17 00:00:00 2001 From: GitHubPang <61439577+GitHubPang@users.noreply.github.com> Date: Mon, 5 Sep 2022 09:10:33 +0800 Subject: [PATCH] Update test case. --- backend/RossyntBackendIntegrationTest/IntegrationTest.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/RossyntBackendIntegrationTest/IntegrationTest.cs b/backend/RossyntBackendIntegrationTest/IntegrationTest.cs index 8a48b0cd..66e5505a 100644 --- a/backend/RossyntBackendIntegrationTest/IntegrationTest.cs +++ b/backend/RossyntBackendIntegrationTest/IntegrationTest.cs @@ -56,10 +56,10 @@ public Task CompileFileCSharp10FileScopedNamespaceDeclaration() => RunWithHttpCl }); [Test] - public Task CompileFileCSharp11ExclamationExclamationToken() => RunWithHttpClient(async httpClient => { - var root = await CompileFile(httpClient, "int F(int a!!) {}"); - AssertNode(root, "SyntaxNode", "CompilationUnitSyntax", "CompilationUnit", "int F(int a!!) {}", "0,17", false, 2); - AssertNode(root["Child"]?[0]?["Child"]?[0]?["Child"]?[2]?["Child"]?[1]?["Child"]?[2], "SyntaxToken", "SyntaxToken", "ExclamationExclamationToken", "!!", "11,2", false, 0); + public Task CompileFileCSharp11GreaterThanGreaterThanGreaterThanToken() => RunWithHttpClient(async httpClient => { + var root = await CompileFile(httpClient, "1 >>> 3"); + AssertNode(root, "SyntaxNode", "CompilationUnitSyntax", "CompilationUnit", "1 >>> 3", "0,7", false, 2); + AssertNode(root["Child"]?[0]?["Child"]?[0]?["Child"]?[0]?["Child"]?[1], "SyntaxToken", "SyntaxToken", "GreaterThanGreaterThanGreaterThanToken", ">>>", "2,3", false, 1); }); [Test]