File: 01-basic.t

package info (click to toggle)
libcss-squish-perl 0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 204 kB
  • sloc: perl: 339; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/perl -w
use strict;
use warnings;

use Test::More tests => 2;

use_ok("CSS::Squish");

my $expected_result = <<'EOT';


/**
  * From t/css/01-basic.css: @import "01-basic-import.css";
  */

inside 01-basic-import.css

/** End of 01-basic-import.css */

body { color: blue; }

EOT

my $result = CSS::Squish->concatenate('t/css/01-basic.css');

is($result, $expected_result, "Basic import");