From 634ea662d39829e4073760103ec3c14376428e88 Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Wed, 19 Apr 2017 09:06:57 -0400 Subject: [PATCH] formatting --- .../samples/select-bind-array/_config.js | 26 +++++++++---------- .../samples/select-bind-array/main.html | 6 ++--- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/test/runtime/samples/select-bind-array/_config.js b/test/runtime/samples/select-bind-array/_config.js index 320dbc1187..0cbe3010f8 100644 --- a/test/runtime/samples/select-bind-array/_config.js +++ b/test/runtime/samples/select-bind-array/_config.js @@ -1,22 +1,22 @@ const items = [ { id: 'a' }, { id: 'b' } ]; export default { - 'skip-ssr': true, + 'skip-ssr': true, - data: { - foo: 'b', - items - }, + data: { + foo: 'b', + items + }, - test ( assert, component, target ) { - const options = target.querySelectorAll( 'option' ); + test ( assert, component, target ) { + const options = target.querySelectorAll( 'option' ); - assert.equal( options[0].selected, false ); - assert.equal( options[1].selected, true ); + assert.equal( options[0].selected, false ); + assert.equal( options[1].selected, true ); - component.set( { foo: items[0].id } ); + component.set( { foo: items[0].id } ); - assert.equal( options[0].selected, true ); - assert.equal( options[1].selected, false ); - } + assert.equal( options[0].selected, true ); + assert.equal( options[1].selected, false ); + } }; diff --git a/test/runtime/samples/select-bind-array/main.html b/test/runtime/samples/select-bind-array/main.html index b277295c5f..7971c4fe10 100644 --- a/test/runtime/samples/select-bind-array/main.html +++ b/test/runtime/samples/select-bind-array/main.html @@ -1,5 +1,5 @@