Skip to content
Snippets Groups Projects
Unverified Commit 642f5e48 authored by Gaëtan Harter's avatar Gaëtan Harter
Browse files

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.
parent 124e1dd3
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ def testfunc(child): ...@@ -20,7 +20,7 @@ def testfunc(child):
child.expect(r"checking 10000 elements took \d+ms", timeout=TIMEOUT) 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 probably in the filter.")
child.expect(r"\d+ elements not 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!") child.expect_exact("All done!")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment