File: data.t

package info (click to toggle)
libdata-section-simple-perl 0.07-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 132 kB
  • sloc: perl: 66; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 197 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use lib "t";
use DataInCode;
use Test::More;
use Data::Section::Simple;

my $d = Data::Section::Simple->new('DataInCode');
my $x = $d->get_data_section;

is $x->{foo}, "bar\n\n";

done_testing;