Skip to content

Commit 9f00516

Browse files
author
Chao
committed
fix
1 parent 655f0a1 commit 9f00516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

receiver/sqlserverreceiver/obfuscate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func TestInvalidQueryPlans(t *testing.T) {
7171
// obfuscate failure, return empty string
7272
plan = `<ShowPlanXML StatementText="[msdb].[dbo].[sysjobhistory].[run_duration] as [sjh].[run_duration]/(10000)*(3600)+[msdb].[dbo].[sysjobhistory].[run_duration] as [sjh].[run_duration]%(10000)/(100)*(60)+[msdb].[dbo].[sysjobhistory].[run_duration] as [sjh].[run_duration]%(100)"></ShowPlanXML>`
7373
result, err = obfuscateXMLPlan(plan)
74-
assert.Equal(t, "", result)
74+
assert.Empty(t, result)
7575
assert.NoError(t, err)
7676
}
7777

0 commit comments

Comments
 (0)