Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
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
14 changes: 7 additions & 7 deletions sasstests.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def normalize_path(path):
'sources': ['test/a.scss'],
'sourcesContent': [],
'names': [],
'mappings': ';AAKA,IAAI,CAAC;EAHH,gBAAgB,EAAE,KAAM,GAGpB;;EAEJ,IAAI,CAAC,CAAC,CAAJ;IACA,KAAK,EAAE,IAAK,GADX',
'mappings': ';AAKI,IAAI,CAAH;EAHH,gBAAgB,EAAE,KAAM,GAGpB;;EAEH,IAAI,CAAC,CAAC,CAAL;IACA,KAAK,EAAE,IAAK,GADX',
}

B_EXPECTED_CSS = '''\
Expand Down Expand Up @@ -457,7 +457,7 @@ def test_build_one(self):
'sources': ['../test/b.scss'],
'sourcesContent': [],
'names': [],
'mappings': ';AACE,CAAC,CAAC,CAAC,CAAD;EACA,SAAS,EAAE,IAAI,GADd',
'mappings': ';AACG,CAAC,CAAC,CAAC,CAAF;EACA,SAAS,EAAE,IAAI,GADd',
},
os.path.join(d, 'css', 'b.scss.css.map')
)
Expand All @@ -475,7 +475,7 @@ def test_build_one(self):
'sources': ['../test/d.scss'],
'sourcesContent': [],
'names': [],
'mappings': ';;AAKA,IAAI,CAAC;EAHH,gBAAgB,EAAE,KAAM,GAGpB;;EAEJ,IAAI,CAAC,CAAC,CAAJ;IACA,IAAI,EAAE,0BAA2B,GADhC',
'mappings': ';;AAKI,IAAI,CAAH;EAHH,gBAAgB,EAAE,KAAM,GAGpB;;EAEH,IAAI,CAAC,CAAC,CAAL;IACA,IAAI,EAAE,0BAA2B,GADhC',
},
os.path.join(d, 'css', 'd.scss.css.map')
)
Expand Down Expand Up @@ -1021,7 +1021,7 @@ def test_raises(self):
r' \tstdin:0\n'
r' on line 1 of stdin\n'
r'>> a { content: raises\(\); }\n'
r' -------------\^\n$'
r' --------------------\^\n$'
)):
compile_with_func('a { content: raises(); }')

Expand All @@ -1034,7 +1034,7 @@ def test_warning(self):
' \tstdin:0\n'
' on line 1 of stdin\n'
'>> a { content: returns_warning(); }\n'
' -------------^\n'
' -----------------------------^\n'
):
compile_with_func('a { content: returns_warning(); }')

Expand All @@ -1046,7 +1046,7 @@ def test_error(self):
' \tstdin:0\n'
' on line 1 of stdin\n'
'>> a { content: returns_error(); }\n'
' -------------^\n'
' ---------------------------^\n'
):
compile_with_func('a { content: returns_error(); }')

Expand All @@ -1070,7 +1070,7 @@ def test_returns_unknown_object(self):
' \tstdin:0\n'
' on line 1 of stdin\n'
'>> a { content: returns_unknown(); }\n'
' -------------^\n'
' -----------------------------^\n'
):
compile_with_func('a { content: returns_unknown(); }')

Expand Down