summaryrefslogtreecommitdiff
path: root/pidl/tests/wireshark-conf.pl
diff options
context:
space:
mode:
Diffstat (limited to 'pidl/tests/wireshark-conf.pl')
-rwxr-xr-xpidl/tests/wireshark-conf.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/tests/wireshark-conf.pl b/pidl/tests/wireshark-conf.pl
index a8e33dfecd4..fff89f6fe0e 100755
--- a/pidl/tests/wireshark-conf.pl
+++ b/pidl/tests/wireshark-conf.pl
@@ -60,7 +60,7 @@ is_deeply(parse_conf("FIELD_DESCRIPTION foo my description\n"),
is_deeply(parse_conf("CODE START\ndata\nCODE END\n"), { override => "data\n" });
is_deeply(parse_conf("CODE START\ndata\nmore data\nCODE END\n"), { override => "data\nmore data\n" });
-test_warnings("nofile:1: Unknown command `CODE'\n",
+test_warnings("nofile:1: CODE END outside CODE section\n",
sub { parse_conf("CODE END\n"); } );
is_deeply(parse_conf("TYPE winreg_String dissect_myminregstring(); FT_STRING BASE_DEC 0 0 2\n"), { types => { winreg_String => {