Ver código fonte

Tests: Code refactoring.

Aleksander Nowodzinski 6 anos atrás
pai
commit
1604c808dd

+ 1 - 1
packages/ckeditor5-code-block/tests/codeblockediting.js

@@ -734,7 +734,7 @@ describe( 'CodeBlockEditing', () => {
 			sinon.assert.calledOnce( dataTransferMock.getData );
 		} );
 
-		describe( 'getSelectedContent', () => {
+		describe( 'getSelectedContent()', () => {
 			it( 'should not engage when there is nothing selected', () => {
 				setModelData( model, '<codeBlock language="css">fo[]o<softBreak></softBreak>bar</codeBlock>' );
 

+ 2 - 1
packages/ckeditor5-code-block/tests/manual/codeblock.html

@@ -1,6 +1,7 @@
 <div id="editor">
 <pre><code class="plaintext">Plain text</code></pre>
-	<p>Getting used to an entirely different culture can be challenging. While it’s also nice to learn about cultures online or from books, nothing comes close to experiencing cultural diversity in person. You learn to appreciate each and every single one of the differences while you become more culturally fluid.</p>
+	<p>Getting used to an entirely different culture can be challenging. While it’s also nice to learn about cultures online or from books, nothing comes close to experiencing cultural diversity in person.</p>
+	<p>You learn to appreciate each and every single one of the differences while you become more culturally fluid.</p>
 <pre><code class="javascript">function foo() {
 	console.log( 'indented using 1 tab' );
 }