diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-08-31 00:03:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:03:14 -0500 |
commit | 7acc0e77a6f6d74d1ccfcf04424a63b224b292a5 (patch) | |
tree | e1c8428f645a659ea14105eb4159ad4e1ddac47d /source4/pidl/tests/header.pl | |
parent | 82037a75eae9deaf6ec80b5ecc3bb89aab6e6dd8 (diff) | |
download | samba-7acc0e77a6f6d74d1ccfcf04424a63b224b292a5.tar.gz samba-7acc0e77a6f6d74d1ccfcf04424a63b224b292a5.tar.bz2 samba-7acc0e77a6f6d74d1ccfcf04424a63b224b292a5.zip |
r24815: Support cpp_quote().
(This used to be commit 30c1de30bb4ded16e79316c0ab43809e0e19f75d)
Diffstat (limited to 'source4/pidl/tests/header.pl')
-rwxr-xr-x | source4/pidl/tests/header.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/pidl/tests/header.pl b/source4/pidl/tests/header.pl index c7a57eb009..8d0dccf507 100755 --- a/source4/pidl/tests/header.pl +++ b/source4/pidl/tests/header.pl @@ -4,7 +4,7 @@ use strict; use warnings; -use Test::More tests => 15; +use Test::More tests => 16; use FindBin qw($RealBin); use lib "$RealBin"; use Util; @@ -53,3 +53,6 @@ like(parse_idl("interface p { struct x; };"), like(parse_idl("interface p { typedef struct x { int p; } x; };"), qr/struct x.*{.*int32_t p;.*};/sm, "double struct declaration"); + +like(parse_idl("cpp_quote(\"some-foo\")"), + qr/some-foo/sm, "cpp quote"); |