Skip to content

Commit

Permalink
Fix extension renegotiation info test
Browse files Browse the repository at this point in the history
Fix printf format for uint8 value
  • Loading branch information
fffilimonov authored and daenney committed Nov 25, 2020
1 parent 21ff314 commit 88c36d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension_renegotiation_info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ func TestRenegotiationInfo(t *testing.T) {
}

if newExtension.renegotiatedConnection != extension.renegotiatedConnection {
t.Errorf("extensionRenegotiationInfo marshal: got %s expected %s", newExtension.renegotiatedConnection, extension.renegotiatedConnection)
t.Errorf("extensionRenegotiationInfo marshal: got %d expected %d", newExtension.renegotiatedConnection, extension.renegotiatedConnection)
}
}

0 comments on commit 88c36d6

Please sign in to comment.