citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 35414060878dfb57cc3bfb39c01df4c098803169
parent b3c321445f43b0011f3b1e8a8110896fe74c1dac
Author: Kyle Milz <kyle@0x30.net>
Date:   Sun,  8 Jan 2017 05:16:00 -0700

t: correct off by one for instrumenting lines

Diffstat:
Mt/lib_deadcount.t | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/t/lib_deadcount.t b/t/lib_deadcount.t @@ -24,6 +24,7 @@ my ($tu1, $tu2, $tu3) = sort keys %tus; my @fib_good = qw( 177 177 +177 354 34 286 @@ -32,7 +33,6 @@ my @fib_good = qw( 528 0 0 -0 ); my @main_good = qw( @@ -41,6 +41,7 @@ my @main_good = qw( 0 0 0 +0 1 1 1 @@ -57,11 +58,11 @@ my @main_good = qw( 1 0 0 -0 ); my @print_good = qw( 0 +0 1 1 1 @@ -69,7 +70,6 @@ my @print_good = qw( 0 0 0 -0 ); eq_or_diff( $shm->get_buffers($tu1), \@fib_good, 'is fib count identical', { context => 3 } );