Skip to content

Commit

Permalink
test: modify test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
winfredLIN authored and ColdWaterLW committed Dec 15, 2023
1 parent 86cbca1 commit b44beb1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sqle/api/controller/v1/audit_plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ func TestIsHostInBlackList(t *testing.T) {

matchHosts := []string{
"localtest",
"anytest",
"some_Site/home/",
"Some_site/mysql",
"localtest.com",
"anyTest.io",
"some-Site.org/home/",
"Some_site.cn/mysql",
}

if !filter.IsEndpointInBlackList(matchHosts) {
Expand Down

0 comments on commit b44beb1

Please sign in to comment.