Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 committed Nov 19, 2024
1 parent 43a800c commit 0479476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnmi_server/crl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func TestClientCertAuthenAndAuthorWithCrl(t *testing.T) {
func TestTryDownload(t *testing.T) {
// Use this test case for improve coverage
downloaded := TryDownload("http://127.0.0.1:1234/")
if downloaded != true {
if downloaded != false {
t.Errorf("Download should failed: %v", downloaded)
}
}

0 comments on commit 0479476

Please sign in to comment.