summaryrefslogtreecommitdiff
path: root/test/dictionary-data.write.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/dictionary-data.write.js')
-rw-r--r--test/dictionary-data.write.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dictionary-data.write.js b/test/dictionary-data.write.js
index b271da57..16cb8d88 100644
--- a/test/dictionary-data.write.js
+++ b/test/dictionary-data.write.js
@@ -28,7 +28,7 @@ import {createFindKanjiOptions, createFindTermsOptions} from './utilities/transl
* @param {unknown} content
*/
function writeJson(fileName, content) {
- writeFileSync(fileName, JSON.stringify(content, null, 2));
+ writeFileSync(fileName, JSON.stringify(content, null, 2) + '\n');
}
const dirname = path.dirname(fileURLToPath(import.meta.url));