瀏覽代碼

Group transformations tests.

Maciej Gołaszewski 6 年之前
父節點
當前提交
989184456d
共有 1 個文件被更改,包括 9 次插入4 次删除
  1. 9 4
      packages/ckeditor5-typing/tests/texttransformation.js

+ 9 - 4
packages/ckeditor5-typing/tests/texttransformation.js

@@ -44,10 +44,15 @@ describe( 'Text transformation feature', () => {
 	} );
 
 	describe( 'transformations', () => {
-		testTransformation( '(c)', '©' );
-		testTransformation( '(tm)', '™' );
-		testTransformation( '1/2', '½' );
-		testTransformation( '<=', '≤' );
+		describe( 'symbols', () => {
+			testTransformation( '(c)', '©' );
+			testTransformation( '(tm)', '™' );
+		} );
+
+		describe( 'mathematical', () => {
+			testTransformation( '1/2', '½' );
+			testTransformation( '<=', '≤' );
+		} );
 
 		describe( 'quotations', () => {
 			describe( 'english US', () => {