From a9fe2d03b22a0dd5760019f1325a7a86ebb07b85 Mon Sep 17 00:00:00 2001 From: toasted-nutbread <toasted-nutbread@users.noreply.github.com> Date: Sat, 3 Apr 2021 13:02:49 -0400 Subject: Update dictionary settings structure (#1587) * Update dictionary settings structure to use an array instead of an object * Update ensureDictionarySettings implementation * Remove some usage of ObjectPropertyAccessor --- test/test-options-util.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/test-options-util.js b/test/test-options-util.js index ce12bca9..cd948c91 100644 --- a/test/test-options-util.js +++ b/test/test-options-util.js @@ -407,14 +407,15 @@ function createProfileOptionsUpdatedTestData1() { groups: [] } }, - dictionaries: { - 'Test Dictionary': { + dictionaries: [ + { + name: 'Test Dictionary', priority: 0, enabled: true, allowSecondarySearches: false, definitionsCollapsible: 'not-collapsible' } - }, + ], parsing: { enableScanningParser: true, enableMecabParser: false, @@ -574,7 +575,7 @@ function createOptionsUpdatedTestData1() { } ], profileCurrent: 0, - version: 10, + version: 11, global: { database: { prefixWildcardsSupported: false -- cgit v1.2.3