From af5a73cc117899348530f537a122040abf535697 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 23 Feb 2018 08:57:01 -0500 Subject: [PATCH] update tests --- test/js/samples/component-static-immutable/expected-bundle.js | 4 ++-- test/js/samples/component-static-immutable/expected.js | 4 ++-- .../js/samples/component-static-immutable2/expected-bundle.js | 4 ++-- test/js/samples/component-static-immutable2/expected.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/js/samples/component-static-immutable/expected-bundle.js b/test/js/samples/component-static-immutable/expected-bundle.js index 18ca967e92..b188229ec7 100644 --- a/test/js/samples/component-static-immutable/expected-bundle.js +++ b/test/js/samples/component-static-immutable/expected-bundle.js @@ -176,7 +176,7 @@ var proto = { /* generated by Svelte vX.Y.Z */ var Nested = window.Nested; -function create_main_fragment(state, component) { +function create_main_fragment(component, state) { var nested = new Nested({ root: component.root, @@ -214,7 +214,7 @@ function SvelteComponent(options) { this._aftercreate = []; } - this._fragment = create_main_fragment(this._state, this); + this._fragment = create_main_fragment(this, this._state); if (options.target) { this._fragment.c(); diff --git a/test/js/samples/component-static-immutable/expected.js b/test/js/samples/component-static-immutable/expected.js index 028dc9e64c..647b068179 100644 --- a/test/js/samples/component-static-immutable/expected.js +++ b/test/js/samples/component-static-immutable/expected.js @@ -3,7 +3,7 @@ import { _differsImmutable, assign, callAll, init, noop, proto } from "svelte/sh var Nested = window.Nested; -function create_main_fragment(state, component) { +function create_main_fragment(component, state) { var nested = new Nested({ root: component.root, @@ -41,7 +41,7 @@ function SvelteComponent(options) { this._aftercreate = []; } - this._fragment = create_main_fragment(this._state, this); + this._fragment = create_main_fragment(this, this._state); if (options.target) { this._fragment.c(); diff --git a/test/js/samples/component-static-immutable2/expected-bundle.js b/test/js/samples/component-static-immutable2/expected-bundle.js index 18ca967e92..b188229ec7 100644 --- a/test/js/samples/component-static-immutable2/expected-bundle.js +++ b/test/js/samples/component-static-immutable2/expected-bundle.js @@ -176,7 +176,7 @@ var proto = { /* generated by Svelte vX.Y.Z */ var Nested = window.Nested; -function create_main_fragment(state, component) { +function create_main_fragment(component, state) { var nested = new Nested({ root: component.root, @@ -214,7 +214,7 @@ function SvelteComponent(options) { this._aftercreate = []; } - this._fragment = create_main_fragment(this._state, this); + this._fragment = create_main_fragment(this, this._state); if (options.target) { this._fragment.c(); diff --git a/test/js/samples/component-static-immutable2/expected.js b/test/js/samples/component-static-immutable2/expected.js index 028dc9e64c..647b068179 100644 --- a/test/js/samples/component-static-immutable2/expected.js +++ b/test/js/samples/component-static-immutable2/expected.js @@ -3,7 +3,7 @@ import { _differsImmutable, assign, callAll, init, noop, proto } from "svelte/sh var Nested = window.Nested; -function create_main_fragment(state, component) { +function create_main_fragment(component, state) { var nested = new Nested({ root: component.root, @@ -41,7 +41,7 @@ function SvelteComponent(options) { this._aftercreate = []; } - this._fragment = create_main_fragment(this._state, this); + this._fragment = create_main_fragment(this, this._state); if (options.target) { this._fragment.c();