Explorar el Código

Merge pull request #32 from ckeditor/t/ckeditor5/401

Tests: Adjustments to changes in `getData()`.
Piotrek Koszuliński hace 7 años
padre
commit
4632f7c60c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/ckeditor5-block-quote/tests/blockquoteediting.js

+ 1 - 1
packages/ckeditor5-block-quote/tests/blockquoteediting.js

@@ -95,7 +95,7 @@ describe( 'BlockQuoteEditing', () => {
 			writer.remove( writer.createRangeIn( bq ) );
 		} );
 
-		expect( editor.getData() ).to.equal( '<p>&nbsp;</p>' ); // Autoparagraphed.
+		expect( editor.getData( { trim: 'none' } ) ).to.equal( '<p>&nbsp;</p>' ); // Autoparagraphed.
 	} );
 
 	it( 'should unwrap a blockQuote if it was inserted into another blockQuote', () => {