From bb5dc8b25f0d84a6c005b1cad7d0169b4026fffa Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 30 Aug 2019 13:48:59 -0400 Subject: [PATCH] update tests --- test/js/samples/if-block-complex/expected.js | 2 +- test/js/samples/transition-local/expected.js | 4 +--- test/js/samples/transition-repeated-outro/expected.js | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/test/js/samples/if-block-complex/expected.js b/test/js/samples/if-block-complex/expected.js index f0da492e3c..67d537f343 100644 --- a/test/js/samples/if-block-complex/expected.js +++ b/test/js/samples/if-block-complex/expected.js @@ -78,4 +78,4 @@ class Component extends SvelteComponent { } } -export default Component; +export default Component; \ No newline at end of file diff --git a/test/js/samples/transition-local/expected.js b/test/js/samples/transition-local/expected.js index 53bce5f5d0..f1397e6308 100644 --- a/test/js/samples/transition-local/expected.js +++ b/test/js/samples/transition-local/expected.js @@ -37,9 +37,7 @@ function create_if_block(ctx) { if_block.c(); transition_in(if_block, 1); if_block.m(if_block_anchor.parentNode, if_block_anchor); - } else { - transition_in(if_block, 1); - } + } else transition_in(if_block, 1); } else if (if_block) { if_block.d(1); if_block = null; diff --git a/test/js/samples/transition-repeated-outro/expected.js b/test/js/samples/transition-repeated-outro/expected.js index 8543d0029b..666f13a6aa 100644 --- a/test/js/samples/transition-repeated-outro/expected.js +++ b/test/js/samples/transition-repeated-outro/expected.js @@ -76,9 +76,7 @@ function create_fragment(ctx) { if_block.c(); transition_in(if_block, 1); if_block.m(if_block_anchor.parentNode, if_block_anchor); - } else { - transition_in(if_block, 1); - } + } else transition_in(if_block, 1); } else if (if_block) { group_outros(); transition_out(if_block, 1, 1, () => {