File: normalize.t

package info (click to toggle)
libtest-base-perl 0.89-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 676 kB
  • sloc: perl: 936; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
use Test::Base tests => 4;

my $t = -e 't' ? 't' : 'test';
spec_file "$t/dos_spec";

my @blocks = blocks;

is $blocks[0]->Foo, "Line 1\n\nLine 2\n";
is $blocks[0]->Bar, "Line 3\nLine 4";
is $blocks[1]->Foo, "Line 5\n\nLine 6\n";
is $blocks[1]->Bar, "Line 7\nLine 8";