summaryrefslogtreecommitdiff
path: root/tests/staticfiles_tests/project/documents
diff options
context:
space:
mode:
authorCarlton Gibson <carlton.gibson@noumenal.es>2021-11-04 10:20:04 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-11-04 20:28:35 +0100
commit4816dc942860caf076c7c85ea9dbfa8bfab212ff (patch)
tree8ddde57b8991bc454e7b6ae034750967f77f2e88 /tests/staticfiles_tests/project/documents
parentfc565cb539e4c1e5fba70d9ebb19bac0ca251d37 (diff)
Fixed #33237 -- Fixed detecting source maps in ManifestStaticFilesStorage for multiline files.
Switched regex to multiline mode in order to match per-line, rather than against the whole file. Thanks to Joseph Abrahams for the report. Regression in 781b44240a06f0c868254f40f36ce46c927f56d1.
Diffstat (limited to 'tests/staticfiles_tests/project/documents')
-rw-r--r--tests/staticfiles_tests/project/documents/cached/source_map.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/staticfiles_tests/project/documents/cached/source_map.js b/tests/staticfiles_tests/project/documents/cached/source_map.js
index b37c5e5701..9d417868a0 100644
--- a/tests/staticfiles_tests/project/documents/cached/source_map.js
+++ b/tests/staticfiles_tests/project/documents/cached/source_map.js
@@ -1 +1,2 @@
//# sourceMappingURL=source_map.js.map
+let a_variable = 1;