From fabcf20977eecebf912aa2c9679f9d9e84282216 Mon Sep 17 00:00:00 2001 From: CorvusYe Date: Tue, 25 Oct 2022 14:51:02 +0800 Subject: [PATCH] fix: #64 by update current space from custom nGQL --- .../ye/weicheng/ngbatis/demo/NgbatisDemoApplicationTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ngbatis-demo/src/test/java/ye/weicheng/ngbatis/demo/NgbatisDemoApplicationTests.java b/ngbatis-demo/src/test/java/ye/weicheng/ngbatis/demo/NgbatisDemoApplicationTests.java index 9030a0df..7f0b3a2b 100644 --- a/ngbatis-demo/src/test/java/ye/weicheng/ngbatis/demo/NgbatisDemoApplicationTests.java +++ b/ngbatis-demo/src/test/java/ye/weicheng/ngbatis/demo/NgbatisDemoApplicationTests.java @@ -163,7 +163,7 @@ public void selectMapWhenNull() { @Test public void testSpaceSwitch() { - for (int i = 0; i < 30; i ++) { + for (int i = 0; i < 30; i++) { long l = System.currentTimeMillis(); int mod = (int) (l % 3); switch (mod) { @@ -173,6 +173,7 @@ public void testSpaceSwitch() { break; case 2: repository.selectMapWhenNull(); break; + default: break; } } }