Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 57967f0

Browse files
committed
update test for change in error pointer
I believe this to be a bug so I've opened sass/libsass#3092
1 parent c0c36ec commit 57967f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sasstests.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1630,11 +1630,12 @@ def test_stack_trace_formatting():
16301630
raise AssertionError('expected to raise CompileError')
16311631
except sass.CompileError:
16321632
tb = traceback.format_exc()
1633+
# TODO: https://github.com/sass/libsass/issues/3092
16331634
assert tb.endswith(
16341635
'CompileError: Error: Invalid CSS after "a{☃": expected "{", was ""\n'
1635-
' on line 1:3 of stdin\n'
1636+
' on line 1:5 of stdin\n'
16361637
'>> a{☃\n'
1637-
' --^\n\n',
1638+
' ----^\n\n',
16381639
)
16391640

16401641

0 commit comments

Comments
 (0)