tests: runtime: add another case where if/else fails with compound statements

pull/4102/head
David A Kondrad 6 years ago committed by Tan Li Hau
parent 53b5f1aac6
commit e0288d5302

@ -0,0 +1,11 @@
<script>
import {writable} from 'svelte/store';
import Widget from './Widget.svelte';
let a = (writable({}));
let b = () => true;
</script>
{#if $a || b() }
<Widget></Widget>
{:else}
<pre>fail</pre>
{/if}
Loading…
Cancel
Save