We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccae10b commit fd8c60dCopy full SHA for fd8c60d
sentry/src/test/java/io/sentry/util/SampleRateUtilTest.kt
@@ -46,16 +46,6 @@ class SampleRateUtilTest {
46
assertFalse(SampleRateUtils.isValidSampleRate(Double.NEGATIVE_INFINITY))
47
}
48
49
- @Test
50
- fun `accepts null sample rate if told so`() {
51
- assertTrue(SampleRateUtils.isValidSampleRate(null, true))
52
- }
53
-
54
55
- fun `rejects null sample rate if told so`() {
56
- assertFalse(SampleRateUtils.isValidSampleRate(null, false))
57
58
59
@Test
60
fun `accepts 0 for traces sample rate`() {
61
assertTrue(SampleRateUtils.isValidTracesSampleRate(0.0))
0 commit comments