Skip to content

Commit 8b7f785

Browse files
committed
remove no assert test
1 parent 14a3b89 commit 8b7f785

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/TracingSubsegmentTests.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,6 @@ public void WithSubsegment_WithEntity_InvokesActionWithSubsegment()
193193
Assert.IsType<TracingSubsegment>(passedSubsegment);
194194
}
195195

196-
[Fact]
197-
public void WithSubsegment_WithEntity_HandlesNullAction()
198-
{
199-
// Arrange
200-
var parent = new Segment("parent", TraceId.NewId());
201-
202-
// Act & Assert - Should not throw
203-
Tracing.WithSubsegment("test-namespace", "test-name", parent, null);
204-
}
205196

206197
[Fact]
207198
public void WithSubsegment_WithEntity_UsesDefaultNamespaceWhenNull()

0 commit comments

Comments
 (0)