diff options
Diffstat (limited to 'source4/pidl/tests')
-rwxr-xr-x | source4/pidl/tests/header.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/pidl/tests/header.pl b/source4/pidl/tests/header.pl index e7cd913916..9271c57c4c 100755 --- a/source4/pidl/tests/header.pl +++ b/source4/pidl/tests/header.pl @@ -19,8 +19,8 @@ sub parse_idl($) return Parse::Pidl::Samba4::Header::Parse($idl); } -is("/* header auto-generated by pidl */\n\n#include <core.h>\n\n", parse_idl(""), "includes work"); -is("/* header auto-generated by pidl */\n\n#include <core.h>\n\n", parse_idl("interface x {}"), "simple empty interface doesn't cause overhead"); +like(parse_idl(""), qr/\/\* header auto-generated by pidl \*\n\//sm, "includes work"); +like(parse_idl("interface x {}"), qr/\/\* header auto-generated by pidl \*\/\n/sm, "simple empty interface doesn't cause overhead"); like(parse_idl("interface p { typedef struct { int y; } x; };"), qr/.*#ifndef _HEADER_p\n#define _HEADER_p\n.+\n#endif \/\* _HEADER_p \*\/.*/ms, "ifdefs are created"); like(parse_idl("interface p { typedef struct { int y; } x; };"), |