File: 03-skip-http.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 (17 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl -w
use strict;
use warnings;

use Test::More tests => 2;

use_ok("CSS::Squish");

my $expected = <<'EOT';
@import url("http://example.com/foo.css");
foobar
EOT

my $result = CSS::Squish->concatenate('t/css/03-skip-http.css');

is($result, $expected, "Skip remote URLs");