| File: Legacy\CSharpLanguageCharacteristicsTest.cs | Web Access |
| Project: src\src\Razor\src\Compiler\Microsoft.AspNetCore.Razor.Language\test\Microsoft.AspNetCore.Razor.Language.UnitTests.csproj (Microsoft.AspNetCore.Razor.Language.UnitTests) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable disable using Xunit; namespace Microsoft.AspNetCore.Razor.Language.Legacy; public class CSharpLanguageCharacteristicsTest { [Fact] public void GetSample_RightShiftAssign_ReturnsCorrectToken() { // Arrange & Act var token = NativeCSharpLanguageCharacteristics.Instance.GetSample(SyntaxKind.RightShiftAssign); // Assert Assert.Equal(">>=", token); } } |