8
0
فهرست منبع

Merge pull request #21 from ckeditor/t/tests-fix

Tests: Fix tests after changes in downcast API.
Piotrek Koszuliński 7 سال پیش
والد
کامیت
0881b84f96
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      packages/ckeditor5-highlight/tests/highlightediting.js

+ 2 - 2
packages/ckeditor5-highlight/tests/highlightediting.js

@@ -53,8 +53,8 @@ describe( 'HighlightEditing', () => {
 		it( 'should convert only one defined marker classes', () => {
 			editor.setData( '<p>f<mark class="marker-green marker-yellow">o</mark>o</p>' );
 
-			expect( getModelData( model ) ).to.equal( '<paragraph>[]f<$text highlight="yellowMarker">o</$text>o</paragraph>' );
-			expect( editor.getData() ).to.equal( '<p>f<mark class="marker-yellow">o</mark>o</p>' );
+			expect( getModelData( model ) ).to.equal( '<paragraph>[]f<$text highlight="greenMarker">o</$text>o</paragraph>' );
+			expect( editor.getData() ).to.equal( '<p>f<mark class="marker-green">o</mark>o</p>' );
 		} );
 
 		it( 'should not convert undefined marker classes', () => {