Skip to content

Commit

Permalink
fix unit test (#386)
Browse files Browse the repository at this point in the history
* fix unit test

* fix test name

* adds test SamplerDoesNotDisposeEventListenerWhenStopped

* Revert "fix test name"

This reverts commit 8b5540b.

* remove goofy test

* fix test name
  • Loading branch information
lspangler584 authored Dec 8, 2020
1 parent 7f10c10 commit 719bc62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void SamplerStartsWithoutException()
}

[Test]
public void SamplerDoesNotDisposesEventListenerWhenStopped()
public void SamplerDisposesEventListenerOnException()
{
var samplerWasStopped = false;
var listenerWasDisposed = false;
Expand Down Expand Up @@ -117,7 +117,7 @@ public void SamplerDoesNotDisposesEventListenerWhenStopped()

//Assert
Assert.IsTrue(samplerWasStopped);
Assert.IsFalse(listenerWasDisposed);
Assert.IsTrue(listenerWasDisposed);
}

[Test]
Expand Down

0 comments on commit 719bc62

Please sign in to comment.