mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-14 02:05:29 +02:00
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:
4
tests/syntax-tests/source/Svelte/App.svelte
vendored
4
tests/syntax-tests/source/Svelte/App.svelte
vendored
@ -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;
|
||||
|
Reference in New Issue
Block a user