From 38df4865a9fc5b6c77f9bd9abce46910d9cc7a99 Mon Sep 17 00:00:00 2001 From: Admin <2762713521@qq.com> Date: Sun, 14 Jul 2024 17:47:31 +0800 Subject: [PATCH] init commit --- sdk/sdk_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/sdk_test.go b/sdk/sdk_test.go index ce480f68..6680bf9a 100644 --- a/sdk/sdk_test.go +++ b/sdk/sdk_test.go @@ -18,11 +18,11 @@ func TestSdk(t *testing.T) { assert.True(t, VmxSupportDetection()) assert.True(t, SetCustomDriverPathEx(SysPath)) - log := "" + log := "x" SetTextMessageCallback(StringToBytePointer(log)) go func() { for { - if log != "" { + if len(log) > 1 { println(log) } }