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) } }