From 43679c82f4b6f16af2d8b6695499b03ed7555266 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 26 Feb 2007 17:43:01 +0000 Subject: r21545: Fix pidl test. (This used to be commit ed0a7f5091d99a012e366ed3bc877b5228aa62a8) --- source4/pidl/tests/wireshark-ndr.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/pidl') diff --git a/source4/pidl/tests/wireshark-ndr.pl b/source4/pidl/tests/wireshark-ndr.pl index 02eabb8942..a216f59d97 100755 --- a/source4/pidl/tests/wireshark-ndr.pl +++ b/source4/pidl/tests/wireshark-ndr.pl @@ -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" }}})}); -- cgit