1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Add a test case to cover a missed VDBE branch generated by window.c.

FossilOrigin-Name: b36813d6467c82159bd3bb69d34ac28fc161a13052ca67d7cf9ad75e2aaea9d5
This commit is contained in:
dan
2019-04-01 18:43:09 +00:00
parent 1d07f1d8c7
commit afb3f3c72c
5 changed files with 41 additions and 15 deletions

View File

@ -1330,7 +1330,7 @@ proc vdbe_coverage_report {} {
}
set fd [open vdbe_coverage.txt w]
foreach miss [vdbe_coverage report] {
foreach {line branch} $miss {}
foreach {line branch never} $miss {}
set nextfile ""
while {[llength $lSrc]>0 && [lindex $lSrc 0 0] < $line} {
set nextfile [lindex $lSrc 0 1]
@ -1340,7 +1340,7 @@ proc vdbe_coverage_report {} {
puts $fd ""
puts $fd "### $nextfile ###"
}
puts $fd "Vdbe branch $line: path $branch never taken"
puts $fd "Vdbe branch $line: never $never (path $branch)"
}
close $fd
}