From 9085c0a22a05a2f4f5c5ea1eab82b64717f3d2cc Mon Sep 17 00:00:00 2001
From: Rich Harris <richard.a.harris@gmail.com>
Date: Tue, 25 Jul 2017 11:07:52 -0400
Subject: [PATCH] update tests

---
 .../collapses-text-around-comments/expected-bundle.js  |  6 +++---
 .../samples/computed-collapsed-if/expected-bundle.js   |  6 +++---
 .../each-block-changed-check/expected-bundle.js        |  6 +++---
 .../samples/event-handlers-custom/expected-bundle.js   |  6 +++---
 test/js/samples/if-block-no-update/expected-bundle.js  |  6 +++---
 test/js/samples/if-block-simple/expected-bundle.js     |  6 +++---
 .../samples/non-imported-component/expected-bundle.js  | 10 +++++-----
 test/js/samples/non-imported-component/expected.js     |  4 ++--
 .../onrender-onteardown-rewritten/expected-bundle.js   |  6 +++---
 .../samples/use-elements-as-anchors/expected-bundle.js |  6 +++---
 10 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/test/js/samples/collapses-text-around-comments/expected-bundle.js b/test/js/samples/collapses-text-around-comments/expected-bundle.js
index 59faec43c0..535273b636 100644
--- a/test/js/samples/collapses-text-around-comments/expected-bundle.js
+++ b/test/js/samples/collapses-text-around-comments/expected-bundle.js
@@ -115,12 +115,12 @@ function on(eventName, handler) {
 
 function set(newState) {
 	this._set(assign({}, newState));
-	if (this._root._block) return;
-	this._root._block = true;
+	if (this._root._lock) return;
+	this._root._lock = true;
 	callAll(this._root._beforecreate);
 	callAll(this._root._oncreate);
 	callAll(this._root._aftercreate);
-	this._root._block = false;
+	this._root._lock = false;
 }
 
 function callAll(fns) {
diff --git a/test/js/samples/computed-collapsed-if/expected-bundle.js b/test/js/samples/computed-collapsed-if/expected-bundle.js
index 6e24c4c163..547cb5e958 100644
--- a/test/js/samples/computed-collapsed-if/expected-bundle.js
+++ b/test/js/samples/computed-collapsed-if/expected-bundle.js
@@ -91,12 +91,12 @@ function on(eventName, handler) {
 
 function set(newState) {
 	this._set(assign({}, newState));
-	if (this._root._block) return;
-	this._root._block = true;
+	if (this._root._lock) return;
+	this._root._lock = true;
 	callAll(this._root._beforecreate);
 	callAll(this._root._oncreate);
 	callAll(this._root._aftercreate);
-	this._root._block = false;
+	this._root._lock = false;
 }
 
 function callAll(fns) {
diff --git a/test/js/samples/each-block-changed-check/expected-bundle.js b/test/js/samples/each-block-changed-check/expected-bundle.js
index 8aeafdeb12..47d43b2aea 100644
--- a/test/js/samples/each-block-changed-check/expected-bundle.js
+++ b/test/js/samples/each-block-changed-check/expected-bundle.js
@@ -124,12 +124,12 @@ function on(eventName, handler) {
 
 function set(newState) {
 	this._set(assign({}, newState));
-	if (this._root._block) return;
-	this._root._block = true;
+	if (this._root._lock) return;
+	this._root._lock = true;
 	callAll(this._root._beforecreate);
 	callAll(this._root._oncreate);
 	callAll(this._root._aftercreate);
-	this._root._block = false;
+	this._root._lock = false;
 }
 
 function callAll(fns) {
diff --git a/test/js/samples/event-handlers-custom/expected-bundle.js b/test/js/samples/event-handlers-custom/expected-bundle.js
index de76233275..c916b10078 100644
--- a/test/js/samples/event-handlers-custom/expected-bundle.js
+++ b/test/js/samples/event-handlers-custom/expected-bundle.js
@@ -109,12 +109,12 @@ function on(eventName, handler) {
 
 function set(newState) {
 	this._set(assign({}, newState));
-	if (this._root._block) return;
-	this._root._block = true;
+	if (this._root._lock) return;
+	this._root._lock = true;
 	callAll(this._root._beforecreate);
 	callAll(this._root._oncreate);
 	callAll(this._root._aftercreate);
-	this._root._block = false;
+	this._root._lock = false;
 }
 
 function callAll(fns) {
diff --git a/test/js/samples/if-block-no-update/expected-bundle.js b/test/js/samples/if-block-no-update/expected-bundle.js
index 5c46a788ad..39ea6622f5 100644
--- a/test/js/samples/if-block-no-update/expected-bundle.js
+++ b/test/js/samples/if-block-no-update/expected-bundle.js
@@ -115,12 +115,12 @@ function on(eventName, handler) {
 
 function set(newState) {
 	this._set(assign({}, newState));
-	if (this._root._block) return;
-	this._root._block = true;
+	if (this._root._lock) return;
+	this._root._lock = true;
 	callAll(this._root._beforecreate);
 	callAll(this._root._oncreate);
 	callAll(this._root._aftercreate);
-	this._root._block = false;
+	this._root._lock = false;
 }
 
 function callAll(fns) {
diff --git a/test/js/samples/if-block-simple/expected-bundle.js b/test/js/samples/if-block-simple/expected-bundle.js
index 723df41e99..382c2fd8d3 100644
--- a/test/js/samples/if-block-simple/expected-bundle.js
+++ b/test/js/samples/if-block-simple/expected-bundle.js
@@ -115,12 +115,12 @@ function on(eventName, handler) {
 
 function set(newState) {
 	this._set(assign({}, newState));
-	if (this._root._block) return;
-	this._root._block = true;
+	if (this._root._lock) return;
+	this._root._lock = true;
 	callAll(this._root._beforecreate);
 	callAll(this._root._oncreate);
 	callAll(this._root._aftercreate);
-	this._root._block = false;
+	this._root._lock = false;
 }
 
 function callAll(fns) {
diff --git a/test/js/samples/non-imported-component/expected-bundle.js b/test/js/samples/non-imported-component/expected-bundle.js
index 1b29740949..91a8b8c292 100644
--- a/test/js/samples/non-imported-component/expected-bundle.js
+++ b/test/js/samples/non-imported-component/expected-bundle.js
@@ -103,12 +103,12 @@ function on(eventName, handler) {
 
 function set(newState) {
 	this._set(assign({}, newState));
-	if (this._root._block) return;
-	this._root._block = true;
+	if (this._root._lock) return;
+	this._root._lock = true;
 	callAll(this._root._beforecreate);
 	callAll(this._root._oncreate);
 	callAll(this._root._aftercreate);
-	this._root._block = false;
+	this._root._lock = false;
 }
 
 function callAll(fns) {
@@ -198,11 +198,11 @@ function SvelteComponent ( options ) {
 	}
 
 	if ( !options._root ) {
-		this._block = true;
+		this._lock = true;
 		callAll(this._beforecreate);
 		callAll(this._oncreate);
 		callAll(this._aftercreate);
-		this._block = false;
+		this._lock = false;
 	}
 }
 
diff --git a/test/js/samples/non-imported-component/expected.js b/test/js/samples/non-imported-component/expected.js
index 065ebc0a72..787e62c54b 100644
--- a/test/js/samples/non-imported-component/expected.js
+++ b/test/js/samples/non-imported-component/expected.js
@@ -77,11 +77,11 @@ function SvelteComponent ( options ) {
 	}
 
 	if ( !options._root ) {
-		this._block = true;
+		this._lock = true;
 		callAll(this._beforecreate);
 		callAll(this._oncreate);
 		callAll(this._aftercreate);
-		this._block = false;
+		this._lock = false;
 	}
 }
 
diff --git a/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js b/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js
index 61de8b261e..25fae9ba8c 100644
--- a/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js
+++ b/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js
@@ -91,12 +91,12 @@ function on(eventName, handler) {
 
 function set(newState) {
 	this._set(assign({}, newState));
-	if (this._root._block) return;
-	this._root._block = true;
+	if (this._root._lock) return;
+	this._root._lock = true;
 	callAll(this._root._beforecreate);
 	callAll(this._root._oncreate);
 	callAll(this._root._aftercreate);
-	this._root._block = false;
+	this._root._lock = false;
 }
 
 function callAll(fns) {
diff --git a/test/js/samples/use-elements-as-anchors/expected-bundle.js b/test/js/samples/use-elements-as-anchors/expected-bundle.js
index 8a42c00e2a..32cd0203c2 100644
--- a/test/js/samples/use-elements-as-anchors/expected-bundle.js
+++ b/test/js/samples/use-elements-as-anchors/expected-bundle.js
@@ -115,12 +115,12 @@ function on(eventName, handler) {
 
 function set(newState) {
 	this._set(assign({}, newState));
-	if (this._root._block) return;
-	this._root._block = true;
+	if (this._root._lock) return;
+	this._root._lock = true;
 	callAll(this._root._beforecreate);
 	callAll(this._root._oncreate);
 	callAll(this._root._aftercreate);
-	this._root._block = false;
+	this._root._lock = false;
 }
 
 function callAll(fns) {