Ver código fonte

Fixed spaces in square brackets.

Szymon Kupś 9 anos atrás
pai
commit
815494d7d8
1 arquivos alterados com 6 adições e 6 exclusões
  1. 6 6
      packages/ckeditor5-engine/tests/view/element.js

+ 6 - 6
packages/ckeditor5-engine/tests/view/element.js

@@ -882,12 +882,12 @@ describe( 'Element', () => {
 
 			const properties = [ ...el.getCustomProperties() ];
 
-			expect( properties[0][0] ).to.equal( 'foo' );
-			expect( properties[0][1] ).to.equal( 1 );
-			expect( properties[1][0] ).to.equal( 'bar' );
-			expect( properties[1][1] ).to.equal( 2 );
-			expect( properties[2][0] ).to.equal( 'baz' );
-			expect( properties[2][1] ).to.equal( 3 );
+			expect( properties[ 0 ][ 0 ] ).to.equal( 'foo' );
+			expect( properties[ 0 ][ 1 ] ).to.equal( 1 );
+			expect( properties[ 1 ][ 0 ] ).to.equal( 'bar' );
+			expect( properties[ 1 ][ 1 ] ).to.equal( 2 );
+			expect( properties[ 2 ][ 0 ] ).to.equal( 'baz' );
+			expect( properties[ 2 ][ 1 ] ).to.equal( 3 );
 		} );
 	} );
 } );