Skip to content

Commit 82ff85e

Browse files
committed
Remove NotSupportedException assertion in Accept test
The test for the `Accept` method no longer asserts that a `NotSupportedException` is thrown. The `Assert.Throws` call was replaced with a direct invocation of the `Accept` method, indicating that the method is no longer expected to throw this exception in the given context.
1 parent afa5f8e commit 82ff85e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AXSharp.compiler/tests/AXSharp.CompilerTests/Core/IxNodeVisitorTestsSemantics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ public void CanCallAcceptForISyntaxNodeVisitor_ICombinedThreeVisitor_WithArrayTy
921921
var data = new Mock<ICombinedThreeVisitor>().Object;
922922

923923
// Act
924-
Assert.Throws<NotSupportedException>(() => ((ISyntaxNodeVisitor<ICombinedThreeVisitor>)_testClass).Accept(arrayTypeDeclarationSyntax, data));
924+
((ISyntaxNodeVisitor<ICombinedThreeVisitor>)_testClass).Accept(arrayTypeDeclarationSyntax, data);
925925

926926
// Assert
927927

0 commit comments

Comments
 (0)