source:
vendor/current/pidl/tests/dump.pl
| Last change on this file was 414, checked in by , 16 years ago | |
|---|---|
| File size: 333 bytes | |
| Line | |
|---|---|
| 1 | #!/usr/bin/perl |
| 2 | # (C) 2007 Jelmer Vernooij <jelmer@samba.org> |
| 3 | # Published under the GNU General Public License |
| 4 | use strict; |
| 5 | use warnings; |
| 6 | |
| 7 | use Test::More tests => 1; |
| 8 | use FindBin qw($RealBin); |
| 9 | use lib "$RealBin"; |
| 10 | use Util; |
| 11 | use Parse::Pidl::Dump qw(DumpStruct); |
| 12 | |
| 13 | is (DumpStruct({ NAME => "foo", ELEMENTS => []}), |
| 14 | "struct foo {\n}"); |
| 15 |
Note:
See TracBrowser
for help on using the repository browser.
