fix tests

This commit is contained in:
bcmmbaga
2024-03-13 11:02:47 +03:00
parent 41348bb39b
commit 60f9f08ecb
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ type ChecksDefinition struct {
OSVersionCheck *OSVersionCheck `json:",omitempty"`
GeoLocationCheck *GeoLocationCheck `json:",omitempty"`
PeerNetworkRangeCheck *PeerNetworkRangeCheck `json:",omitempty"`
ProcessCheck *ProcessCheck `json:"process_check"`
ProcessCheck *ProcessCheck `json:",omitempty"`
}
// Copy returns a copy of a checks definition.

View File

@ -116,7 +116,7 @@ func TestProcessCheck_Check(t *testing.T) {
isValid: false,
},
{
name: "unsupported Ios operating system with matching processes",
name: "unsupported ios operating system with matching processes",
input: peer.Peer{
Meta: peer.PeerSystemMeta{
GoOS: "ios",