Skip to content

Commit

Permalink
add point conversion test for 1.0i
Browse files Browse the repository at this point in the history
  • Loading branch information
corylanou committed Jul 31, 2015
1 parent 0b5eb09 commit b154e64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tsdb/points_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,10 @@ func TestParsePointBadNumber(t *testing.T) {
if err == nil {
t.Errorf(`ParsePoints("%s") mismatch. got nil, exp error`, `cpu,host=serverA,region=us-west value=1ii`)
}
_, err = tsdb.ParsePointsString(`cpu,host=serverA,region=us-west value=1.0i`)
if err == nil {
t.Errorf(`ParsePoints("%s") mismatch. got nil, exp error`, `cpu,host=serverA,region=us-west value=1.0i`)
}
}

func TestParsePointMaxInt64(t *testing.T) {
Expand Down

0 comments on commit b154e64

Please sign in to comment.