diff --git a/t/lib/QueryReportFormatter.t b/t/lib/QueryReportFormatter.t index c0f4e84d..11e85766 100644 --- a/t/lib/QueryReportFormatter.t +++ b/t/lib/QueryReportFormatter.t @@ -1220,9 +1220,11 @@ SKIP: { : $sandbox_version ge '5.1' ? "t/lib/samples/QueryReportFormatter/report025.txt" : "t/lib/samples/QueryReportFormatter/report026.txt"); - # 30 + # 32 + my $explain_report = $qrf->explain_report("select * from qrf.t where i=2", 'qrf'); + $explain_report =~ s/filtered: 100(\s+)/filtered: 100.00$1/; is( - $qrf->explain_report("select * from qrf.t where i=2", 'qrf'), + $explain_report, $explain, "explain_report()" ); diff --git a/t/lib/samples/QueryReportFormatter/report031-5.7.txt b/t/lib/samples/QueryReportFormatter/report031-5.7.txt index 1a429fda..a81d7406 100644 --- a/t/lib/samples/QueryReportFormatter/report031-5.7.txt +++ b/t/lib/samples/QueryReportFormatter/report031-5.7.txt @@ -9,5 +9,5 @@ # key_len: 4 # ref: const # rows: 1 -# filtered: 100 +# filtered: 100.00 # Extra: NULL