Build official packages with Go 1.13.1 (#6462)

This commit is contained in:
Daniel Nelson
2019-10-07 21:08:28 -07:00
committed by GitHub
parent da17d6569d
commit 5bd5cdc6d7
8 changed files with 58 additions and 209 deletions

View File

@@ -184,7 +184,7 @@ func TestSimpleMetricCreated(t *testing.T) {
{"neither value nor count", map[string]interface{}{"v1": "alpha", "v2": 45.8}, "", []string{"v2"}},
{"value is of wrong type", map[string]interface{}{"value": "alpha", "count": 15}, "", []string{"count"}},
{"count is of wrong type", map[string]interface{}{"value": 23.77, "count": 7.5}, "", []string{"count", "value"}},
{"count is out of range", map[string]interface{}{"value": -98.45E4, "count": math.MaxUint64 - uint64(20)}, "", []string{"value", "count"}},
{"count is out of range", map[string]interface{}{"value": -98.45e4, "count": math.MaxUint64 - uint64(20)}, "", []string{"value", "count"}},
{"several additional fields", map[string]interface{}{"alpha": 10, "bravo": "bravo", "charlie": 30, "delta": 40.7}, "", []string{"alpha", "charlie", "delta"}},
}