tests/bloom_bytes: explicitely expect a float

The last line should be a float lower than 1 so 0.XXX.
So expect it to match this.

This should prevent issues when float printing does not work.
This commit is contained in:
Gaëtan Harter 2019-02-21 16:19:47 +01:00
parent 124e1dd3fa
commit 642f5e4809
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -20,7 +20,7 @@ def testfunc(child):
child.expect(r"checking 10000 elements took \d+ms", timeout=TIMEOUT)
child.expect(r"\d+ elements probably in the filter.")
child.expect(r"\d+ elements not in the filter.")
child.expect(".+ false positive rate.")
child.expect(r"0\.\d+ false positive rate.")
child.expect_exact("All done!")