From 0f83ecbd57ba4fb4063d9c2973079036bf9ec79c Mon Sep 17 00:00:00 2001 From: yanglifeng Date: Tue, 22 Mar 2022 10:38:28 +0800 Subject: [PATCH] Signed-off-by: yanglifeng --- .../main/js/default/test/DataAbilityPredicatesJsunit.test.js | 2 +- .../main/js/default/test/DeviceKvStoreCallbackJsunit.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/DataAbilityPredicatesJsunit.test.js b/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/DataAbilityPredicatesJsunit.test.js index 207b8ead5..e6cc14476 100755 --- a/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/DataAbilityPredicatesJsunit.test.js +++ b/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/DataAbilityPredicatesJsunit.test.js @@ -16,7 +16,7 @@ import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from ' import dataRdb from '@ohos.data.rdb'; import dataAbility from '@ohos.data.dataAbility'; -const TAG = "[RDB_JSKITS _TEST]" +const TAG = '[RDB_JSKITS _TEST]' const CREATE_TABLE_ALL_DATA_TYPE_SQL = "CREATE TABLE IF NOT EXISTS AllDataType " + "(id INTEGER PRIMARY KEY AUTOINCREMENT, " + "integerValue INTEGER , longValue INTEGER , shortValue INTEGER , booleanValue INTEGER , " diff --git a/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/DeviceKvStoreCallbackJsunit.test.js b/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/DeviceKvStoreCallbackJsunit.test.js index 4e8e2b598..3c2a810c8 100644 --- a/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/DeviceKvStoreCallbackJsunit.test.js +++ b/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/DeviceKvStoreCallbackJsunit.test.js @@ -42,7 +42,7 @@ function sleep(ms) { function putBatchString(len, prefix) { let entries = []; - for (var i = 0; i < len; i++) { + for (let i = 0; i < len; i++) { var entry = { key : prefix + i, value : { -- GitLab