From bfe9904db747c6ca6730fbf11021772305b77a1e Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 19 Apr 2017 18:01:55 -0400 Subject: [PATCH] Update expected.js --- test/js/samples/each-block-changed-check/expected.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/js/samples/each-block-changed-check/expected.js b/test/js/samples/each-block-changed-check/expected.js index f86936611a..ea742ff8ed 100644 --- a/test/js/samples/each-block-changed-check/expected.js +++ b/test/js/samples/each-block-changed-check/expected.js @@ -79,7 +79,7 @@ function create_each_block ( state, each_block_value, comment, i, component ) { var text_2 = createText( text_2_value = comment.author ); appendNode( text_2, span ); appendNode( createText( " wrote " ), span ); - var text_4 = createText( text_4_value = state.elapsed(comment.time, root.time) ); + var text_4 = createText( text_4_value = state.elapsed(comment.time, state.time) ); appendNode( text_4, span ); appendNode( createText( " ago:" ), span ); appendNode( createText( "\n\n\t\t" ), div ); @@ -164,4 +164,4 @@ SvelteComponent.prototype.teardown = SvelteComponent.prototype.destroy = functio this._torndown = true; }; -export default SvelteComponent; \ No newline at end of file +export default SvelteComponent;