Add bat panic regression test for Svelte files with embedded LiveScript

Without a LiveScript syntax present, the Svelte test will now fail with a panic.
This commit is contained in:
Martin Nordholts 2021-10-23 11:32:27 +02:00
parent 6eb2cc9cac
commit dde770aa21
2 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,10 @@
 onMount(hashchange);
</script>
<script type="text/livescript">
 // This block is a regression test for a bat panic when a LiveScript syntax definition is missing
</script>
<style>
 main {
 position: relative;

View File

@ -26,6 +26,10 @@
onMount(hashchange);
</script>
<script type="text/livescript">
// This block is a regression test for a bat panic when a LiveScript syntax definition is missing
</script>
<style>
main {
position: relative;