Skip to content

Commit aa8be0b

Browse files
Update src/ReactiveUI.Extensions.Tests/ReactiveExtensionsTests.cs
Co-authored-by: Copilot <[email protected]>
1 parent c6ec295 commit aa8be0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReactiveUI.Extensions.Tests/ReactiveExtensionsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public void SubscribeAsync_RunsWithAsyncTasksInSubscriptions()
241241
[Test]
242242
public void BufferUntil_WithStartAndEndChars_BuffersCorrectly()
243243
{
244-
var subject = new Subject<char>();
244+
using var subject = new Subject<char>();
245245
var results = new List<string>();
246246
using var sub = subject.BufferUntil('<', '>').Subscribe(results.Add);
247247

0 commit comments

Comments
 (0)