Merge branch 'main' into vgdp-ms-resume-pvb-pvr

This commit is contained in:
lyndon-li
2025-06-24 11:09:16 +08:00
committed by GitHub
110 changed files with 522 additions and 482 deletions
+2 -2
View File
@@ -190,7 +190,7 @@ func Test_getDataPathConfigs(t *testing.T) {
s.getDataPathConfigs()
assert.Equal(t, test.expectConfigs, s.dataPathConfigs)
if test.expectLog == "" {
assert.Equal(t, "", logBuffer)
assert.Empty(t, logBuffer)
} else {
assert.Contains(t, logBuffer, test.expectLog)
}
@@ -408,7 +408,7 @@ func Test_getDataPathConcurrentNum(t *testing.T) {
num := s.getDataPathConcurrentNum(defaultNum)
assert.Equal(t, test.expectNum, num)
if test.expectLog == "" {
assert.Equal(t, "", logBuffer)
assert.Empty(t, logBuffer)
} else {
assert.Contains(t, logBuffer, test.expectLog)
}