r21545: Fix pidl test.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 26 Feb 2007 17:43:01 +0000 (17:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:48:55 +0000 (14:48 -0500)
(This used to be commit ed0a7f5091d99a012e366ed3bc877b5228aa62a8)

source4/pidl/tests/wireshark-ndr.pl

index 02eabb894263348bf773c275985fde37753f1f9d..a216f59d97823d865a5e021566cdef91b746088c 100755 (executable)
@@ -5,7 +5,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 11;
+use Test::More tests => 13;
 use FindBin qw($RealBin);
 use lib "$RealBin";
 use Util;
@@ -65,8 +65,8 @@ is_deeply($conformance, {
 
 %hf_used = ( hf_bla => 1 );
 test_warnings("", sub { 
-               CheckUsed({ header_fields => { INDEX => "hf_bla" }})});
+               CheckUsed({ header_fields => { foo => { INDEX => "hf_bla" }}})});
 
 %hf_used = ( );
-test_warnings("nofile:0: hf field `hf_bla' not used\n", sub { 
-               CheckUsed({ header_fields => { INDEX => "hf_bla" }})});
+test_warnings("hf field `hf_bla' not used\n", sub { 
+               CheckUsed({ header_fields => { foo => { INDEX => "hf_bla" }}})});