8
0
فهرست منبع

Add test for empty quotation.

Maciej Gołaszewski 6 سال پیش
والد
کامیت
77dd613130
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      packages/ckeditor5-typing/tests/texttransformation.js

+ 2 - 0
packages/ckeditor5-typing/tests/texttransformation.js

@@ -75,11 +75,13 @@ describe( 'Text transformation feature', () => {
 					testTransformation( ' "Foo 1992 — bar(1) baz: xyz."', ' “Foo 1992 — bar(1) baz: xyz.”' );
 					testTransformation( '\' foo "bar"', '\' foo “bar”' );
 					testTransformation( 'Foo "Bar bar\'s it\'s a baz"', 'Foo “Bar bar\'s it\'s a baz”' );
+					testTransformation( ' ""', ' “”' );
 				} );
 
 				describe( 'secondary', () => {
 					testTransformation( ' \'Foo 1992 — bar(1) baz: xyz.\'', ' ‘Foo 1992 — bar(1) baz: xyz.’' );
 					testTransformation( '" foo \'bar\'', '" foo ‘bar’' );
+					testTransformation( ' \'\'', ' ‘’' );
 				} );
 			} );
 		} );