improved test comments

How about these test comment improvements?

It changes TAP output from

ok 1 -  my @a_foo = (); 
ok 2 -  my @a_bar = (); 
ok 3 -  my @bar = (1); 
ok 4 -  my @bar = qw(mares eat oats); 
ok 5 -  my @bar = do { qw(mares eat oats); } 
ok 6 -  (my @a_foo = ()) 

into

ok 1 -  0 violations in  my @a_foo = (); 
ok 2 -  0 violations in  my @a_bar = (); 
ok 3 -  1 violation  in  my @bar = (1); 
ok 4 -  1 violation  in  my @bar = qw(mares eat oats); 
ok 5 -  1 violation  in  my @bar = do { qw(mares eat oats); } 
ok 6 -  0 violations in  (my @a_foo = ()) 

If you find this useful, I can change it in the other test files, too.

Merge request reports

Loading