influxdb/models
Mark Rushakoff ed4bba83f5 test(models): don't reassign package variable
Prior to this change, `go test -count=2 ./models` would fail like:

--- FAIL: TestMarshal (0.00s)
    points_test.go:37: got:  ,A\ FOO=bar,APPLE=orange,host=serverA,region=uswest
    points_test.go:38: exp:  ,apple=orange,foo=bar,host=serverA,region=uswest
    points_test.go:39: invalid match

because a later test reassigned the package-level variable that
TestMarshal depends on. Don't reassign that variable anymore.

Also cleaned up some whitespace, and moved an init function to the top
of the file for visibility.
2018-11-12 08:24:14 -08:00
..
inline_fnv.go Initial import of models package 2018-10-01 12:03:19 +01:00
inline_fnv_test.go Initial import of models package 2018-10-01 12:03:19 +01:00
inline_strconv_parse.go Initial import of models package 2018-10-01 12:03:19 +01:00
inline_strconv_parse_test.go Initial import of models package 2018-10-01 12:03:19 +01:00
points.go chore: add String method to FieldType 2018-10-26 08:24:18 -07:00
points_internal_test.go Initial import of models package 2018-10-01 12:03:19 +01:00
points_test.go test(models): don't reassign package variable 2018-11-12 08:24:14 -08:00
rows.go Initial import of models package 2018-10-01 12:03:19 +01:00
statistic.go Initial import of models package 2018-10-01 12:03:19 +01:00
statistic_test.go Initial import of models package 2018-10-01 12:03:19 +01:00
time.go Initial import of models package 2018-10-01 12:03:19 +01:00
uint_support.go Initial import of models package 2018-10-01 12:03:19 +01:00