Thanks to visit codestin.com
Credit goes to github.com

Skip to content

libsass 3.6.0 #295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libsass
Submodule libsass updated 155 files
26 changes: 14 additions & 12 deletions sasstests.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def importer(path):
r' Traceback \(most recent call last\):\n'
r'.+'
r'ValueError: Bad path: hi\n'
r' on line 1 of stdin\n'
r' on line 1:9 of stdin\n'
r'>> @import "hi";\n'
r' --------\^\n',
),
Expand All @@ -475,7 +475,7 @@ def importer(path):
r'.+'
r'ValueError: Expected importer result to be a tuple of '
r'length \(1, 2, 3\) but got 0: \(\)\n'
r' on line 1 of stdin\n'
r' on line 1:9 of stdin\n'
r'>> @import "hi";\n'
r' --------\^\n',
),
Expand All @@ -493,7 +493,7 @@ def importer(path):
r'.+'
r'ValueError: Expected importer result to be a tuple of '
r"length \(1, 2, 3\) but got 4: \('a', 'b', 'c', 'd'\)\n"
r' on line 1 of stdin\n'
r' on line 1:9 of stdin\n'
r'>> @import "hi";\n'
r' --------\^\n',
),
Expand Down Expand Up @@ -1398,8 +1398,8 @@ def test_raises(self):
r' Traceback \(most recent call last\):\n'
r'.+'
r'AssertionError: foo\n'
r' on line 1 of stdin, in function `raises`\n'
r' from line 1 of stdin\n'
r' on line 1:14 of stdin, in function `raises`\n'
r' from line 1:14 of stdin\n'
r'>> a { content: raises\(\); }\n'
r' -------------\^\n$',
),
Expand All @@ -1410,8 +1410,9 @@ def test_warning(self):
with assert_raises_compile_error(
'Error: warning in C function returns_warning: '
'This is a warning\n'
' on line 1 of stdin, in function `returns_warning`\n'
' from line 1 of stdin\n'
' on line 1:14 of stdin, '
'in function `returns_warning`\n'
' from line 1:14 of stdin\n'
'>> a { content: returns_warning(); }\n'
' -------------^\n',
):
Expand All @@ -1421,8 +1422,8 @@ def test_error(self):
with assert_raises_compile_error(
'Error: error in C function returns_error: '
'This is an error\n'
' on line 1 of stdin, in function `returns_error`\n'
' from line 1 of stdin\n'
' on line 1:14 of stdin, in function `returns_error`\n'
' from line 1:14 of stdin\n'
'>> a { content: returns_error(); }\n'
' -------------^\n',
):
Expand All @@ -1443,8 +1444,9 @@ def test_returns_unknown_object(self):
' - SassMap\n'
' - SassWarning\n'
' - SassError\n'
' on line 1 of stdin, in function `returns_unknown`\n'
' from line 1 of stdin\n'
' on line 1:14 of stdin, '
'in function `returns_unknown`\n'
' from line 1:14 of stdin\n'
'>> a { content: returns_unknown(); }\n'
' -------------^\n',
):
Expand Down Expand Up @@ -1631,7 +1633,7 @@ def test_stack_trace_formatting():
tb = traceback.format_exc()
assert tb.endswith(
'CompileError: Error: Invalid CSS after "a{☃": expected "{", was ""\n'
' on line 1 of stdin\n'
' on line 1:3 of stdin\n'
'>> a{☃\n'
' --^\n\n',
)
Expand Down