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;