浏览代码

Tests: Used fully objects instead of shorter strings.

Kamil Piechaczek 8 年之前
父节点
当前提交
bf9e9bdafa
共有 1 个文件被更改,包括 9 次插入3 次删除
  1. 9 3
      packages/ckeditor5-utils/tests/config.js

+ 9 - 3
packages/ckeditor5-utils/tests/config.js

@@ -74,12 +74,18 @@ describe( 'Config', () => {
 					first: 1,
 					second: 2
 				},
-				'b.foo.first': 1,
-				'b.foo.second': 2
+				b: {
+					foo: {
+						first: 1,
+						second: 2,
+					}
+				}
 			};
 
 			const parameters = {
-				'a.third': 3,
+				a: {
+					third: 3
+				},
 				b: {
 					foo: {
 						first: 3,