瀏覽代碼

Tests: Used nested objects instead of short strings.

Kamil Piechaczek 8 年之前
父節點
當前提交
c3be53ad45
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      packages/ckeditor5-core/tests/editor/editor.js

+ 4 - 2
packages/ckeditor5-core/tests/editor/editor.js

@@ -69,8 +69,10 @@ describe( 'Editor', () => {
 		it( 'should extend an editor configuration using built in config', () => {
 			Editor.build = {
 				config: {
-					'foo.a': 1,
-					'foo.b': 2
+					foo: {
+						a: 1,
+						b: 2
+					}
 				}
 			};