Skip to content

Commit 40a12b9

Browse files
committed
Update libsass to 3.6.4
1 parent 99bfe03 commit 40a12b9

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

libsass

Submodule libsass updated 125 files

t/01_xs.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ BEGIN { use_ok('CSS::Sass') };
1313
my $r;
1414
$r = CSS::Sass::compile_sass("this is invalid sass source", {});
1515
is ($r->{error_status}, 1, "Failed compile sets error_status");
16-
like($r->{error_message}, qr/on line 1:22 of stdin/, "Failed compile sets error_message");
16+
like($r->{error_message}, qr/on line 1:28 of stdin/, "Failed compile sets error_message");
1717
is ($r->{output_string}, undef, "Failed compile sets output_string to undef");
1818

1919
$r = CSS::Sass::compile_sass(".valid { color: red; }", {});

t/02_perl.t

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $r = $sass->compile(".valid { color: red; }");
1414
isnt ($r, undef, "Successful compile returns something");
1515

1616
$r = eval { $sass->compile("this is invalid sass source") };
17-
like ($@, qr/on line 1:22 of stdin/, "Failed compile dies with error message");
17+
like ($@, qr/on line 1:28 of stdin/, "Failed compile dies with error message");
1818

1919
$sass->options->{dont_die} = 1;
2020
eval {
@@ -23,7 +23,7 @@ eval {
2323
};
2424
fail ( "dont_die option doesn't die") if $@;
2525
is ($r, undef, "dont_die option returns undef on error");
26-
like ($sass->last_error, qr/on line 1:22 of stdin/, "Failed compile saves error message in last_error");
26+
like ($sass->last_error, qr/on line 1:28 of stdin/, "Failed compile saves error message in last_error");
2727

2828

2929
$sass->options->{dont_die} = 0;
@@ -47,7 +47,7 @@ is ($err, undef, "Successful compile returns no errors")
4747

4848
($r, $err) = sass_compile("this is invalid sass source");
4949
is ($r, undef, "Failed compile returns no code");
50-
like ($err, qr/on line 1:22 of stdin/, "Failed compile returns an error");
50+
like ($err, qr/on line 1:28 of stdin/, "Failed compile returns an error");
5151

5252
$r = sass_compile(".valid { color: red; }");
5353
isnt ($r, undef, "Successful compile scalar context returns something");
@@ -84,7 +84,7 @@ $fh->autoflush(); binmode $fh;
8484
print $fh "this is invalid sass source";
8585
close $fh;
8686
$r = eval { $sass->compile_file($filename) };
87-
like ($@, qr/on line 1:22 of .*\.scss/, "Failed compile dies with error message");
87+
like ($@, qr/on line 1:28 of .*\.scss/, "Failed compile dies with error message");
8888

8989
($fh, $filename) = tempfile( SUFFIX => '.scss');
9090
$fh->autoflush(); binmode $fh;
@@ -97,7 +97,7 @@ eval {
9797
};
9898
fail ( "dont_die option doesn't die") if $@;
9999
is ($r, undef, "dont_die option returns undef on error");
100-
like ($sass->last_error, qr/on line 1:22 of .*\.scss/, "Failed compile saves error message in last_error");
100+
like ($sass->last_error, qr/on line 1:28 of .*\.scss/, "Failed compile saves error message in last_error");
101101

102102

103103
($fh, $filename) = tempfile( SUFFIX => '.scss');
@@ -140,7 +140,7 @@ print $fh "this is invalid sass source";
140140
close $fh;
141141
($r, $err) = sass_compile_file($filename);
142142
is ($r, undef, "Failed compile returns no code");
143-
like ($err, qr/on line 1:22 of .*\.scss/, "Failed compile returns an error");
143+
like ($err, qr/on line 1:28 of .*\.scss/, "Failed compile returns an error");
144144

145145
($fh, $filename) = tempfile( SUFFIX => '.scss');
146146
$fh->autoflush(); binmode $fh;

t/sass-spec

Submodule sass-spec updated 1230 files

0 commit comments

Comments
 (0)