atc0005 / go-nagios

Shared Golang package for Nagios plugins
MIT License
8 stars 3 forks source link

Fix TestPerformanceDataIsNotDuplicated test #184

Closed atc0005 closed 1 year ago

atc0005 commented 1 year ago

Test began failing with work on PR branch for PR-175 which expanded validation support for PerformanceData field values.

The previous test metric values used words in place of expected field values:

This commit moves the self-documenting Value field strings to slice element comments and replaces them with placeholder numeric values which pass Value field validation.

refs GH-175