From 14934a0a77ed4d58deda83e692b91309a5b24c0d Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 21 Jan 2021 17:30:33 +0000 Subject: [PATCH] Formatting --- docs/web/index.js | 14 +++++++------- tests/localEngine.js | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/web/index.js b/docs/web/index.js index 10b6e08..a59c65c 100644 --- a/docs/web/index.js +++ b/docs/web/index.js @@ -140,13 +140,13 @@ function loadDemo(key) { editor.updateCode(demos[key]["code"]); } -db.default({ - list: [1, 2, 3], - string: "test", - numbers: 123, - objects: { - property: "test property" - } +db.default({ + list: [1, 2, 3], + string: "test", + numbers: 123, + objects: { + property: "test property" + } }); db.save(); diff --git a/tests/localEngine.js b/tests/localEngine.js index 057072e..504643e 100644 --- a/tests/localEngine.js +++ b/tests/localEngine.js @@ -36,7 +36,7 @@ describe("Local Engine", function() { db.save(); - let savedData = fs.readFileSync("tempDB.stormdb", 'utf8'); + let savedData = fs.readFileSync("tempDB.stormdb", "utf8"); assert.strictEqual(savedData, "serialized data"); deleteFile("tempDB.stormdb");