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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user