Skip to content

Commit 2a0615e

Browse files
authored
Merge pull request #295 from sass/3_6_0
libsass 3.6.0
2 parents 372a18a + 5ceb725 commit 2a0615e

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

libsass

Submodule libsass updated 155 files

sasstests.py

+14-12
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def importer(path):
457457
r' Traceback \(most recent call last\):\n'
458458
r'.+'
459459
r'ValueError: Bad path: hi\n'
460-
r' on line 1 of stdin\n'
460+
r' on line 1:9 of stdin\n'
461461
r'>> @import "hi";\n'
462462
r' --------\^\n',
463463
),
@@ -475,7 +475,7 @@ def importer(path):
475475
r'.+'
476476
r'ValueError: Expected importer result to be a tuple of '
477477
r'length \(1, 2, 3\) but got 0: \(\)\n'
478-
r' on line 1 of stdin\n'
478+
r' on line 1:9 of stdin\n'
479479
r'>> @import "hi";\n'
480480
r' --------\^\n',
481481
),
@@ -493,7 +493,7 @@ def importer(path):
493493
r'.+'
494494
r'ValueError: Expected importer result to be a tuple of '
495495
r"length \(1, 2, 3\) but got 4: \('a', 'b', 'c', 'd'\)\n"
496-
r' on line 1 of stdin\n'
496+
r' on line 1:9 of stdin\n'
497497
r'>> @import "hi";\n'
498498
r' --------\^\n',
499499
),
@@ -1398,8 +1398,8 @@ def test_raises(self):
13981398
r' Traceback \(most recent call last\):\n'
13991399
r'.+'
14001400
r'AssertionError: foo\n'
1401-
r' on line 1 of stdin, in function `raises`\n'
1402-
r' from line 1 of stdin\n'
1401+
r' on line 1:14 of stdin, in function `raises`\n'
1402+
r' from line 1:14 of stdin\n'
14031403
r'>> a { content: raises\(\); }\n'
14041404
r' -------------\^\n$',
14051405
),
@@ -1410,8 +1410,9 @@ def test_warning(self):
14101410
with assert_raises_compile_error(
14111411
'Error: warning in C function returns_warning: '
14121412
'This is a warning\n'
1413-
' on line 1 of stdin, in function `returns_warning`\n'
1414-
' from line 1 of stdin\n'
1413+
' on line 1:14 of stdin, '
1414+
'in function `returns_warning`\n'
1415+
' from line 1:14 of stdin\n'
14151416
'>> a { content: returns_warning(); }\n'
14161417
' -------------^\n',
14171418
):
@@ -1421,8 +1422,8 @@ def test_error(self):
14211422
with assert_raises_compile_error(
14221423
'Error: error in C function returns_error: '
14231424
'This is an error\n'
1424-
' on line 1 of stdin, in function `returns_error`\n'
1425-
' from line 1 of stdin\n'
1425+
' on line 1:14 of stdin, in function `returns_error`\n'
1426+
' from line 1:14 of stdin\n'
14261427
'>> a { content: returns_error(); }\n'
14271428
' -------------^\n',
14281429
):
@@ -1443,8 +1444,9 @@ def test_returns_unknown_object(self):
14431444
' - SassMap\n'
14441445
' - SassWarning\n'
14451446
' - SassError\n'
1446-
' on line 1 of stdin, in function `returns_unknown`\n'
1447-
' from line 1 of stdin\n'
1447+
' on line 1:14 of stdin, '
1448+
'in function `returns_unknown`\n'
1449+
' from line 1:14 of stdin\n'
14481450
'>> a { content: returns_unknown(); }\n'
14491451
' -------------^\n',
14501452
):
@@ -1631,7 +1633,7 @@ def test_stack_trace_formatting():
16311633
tb = traceback.format_exc()
16321634
assert tb.endswith(
16331635
'CompileError: Error: Invalid CSS after "a{☃": expected "{", was ""\n'
1634-
' on line 1 of stdin\n'
1636+
' on line 1:3 of stdin\n'
16351637
'>> a{☃\n'
16361638
' --^\n\n',
16371639
)

0 commit comments

Comments
 (0)