Skip to content

Commit 7adc3f6

Browse files
committed
Add sourcesContent to _EXPECTED_MAP.
See commit sass/libsass@6c7fcd2a
1 parent c45d92b commit 7adc3f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sasstests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def normalize_path(path):
6363
'version': 3,
6464
'file': 'test/a.css',
6565
'sources': [normalize_source_map_path('test/a.scss')],
66+
'sourcesContent': [],
6667
'names': [],
6768
'mappings': ';AAKA;EAHE,kBAAkB;;EAIpB,KAAK;IAED,OAAO'
6869
}
@@ -147,7 +148,6 @@ class CompileTestCase(unittest.TestCase):
147148
def test_compile_required_arguments(self):
148149
self.assertRaises(TypeError, sass.compile)
149150

150-
151151
def test_compile_takes_only_keywords(self):
152152
self.assertRaises(TypeError, sass.compile, 'a { color: blue; }')
153153

@@ -406,6 +406,7 @@ def test_build_one(self):
406406
'version': 3,
407407
'file': '../test/b.css',
408408
'sources': [normalize_source_map_path('../test/b.scss')],
409+
'sourcesContent': [],
409410
'names': [],
410411
'mappings': ';AAAA,EAAE;EAEE,WAAW'
411412
},
@@ -423,6 +424,7 @@ def test_build_one(self):
423424
'version': 3,
424425
'file': '../test/d.css',
425426
'sources': [normalize_source_map_path('../test/d.scss')],
427+
'sourcesContent': [],
426428
'names': [],
427429
'mappings': ';AAKA;EAHE,kBAAkB;;EAIpB,KAAK;IAED,MAAM'
428430
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy