func TestPoint_Clone_Nil(t *testing.T) { var fp *influxql.FloatPoint if p := fp.Clone(); p != nil { t.Errorf("expected nil, got %v", p) } var ip *influxql.IntegerPoint if p := ip.Clone(); p != nil { t.Errorf("expected nil, got %v", p) } var sp *influxql.StringPoint if p := sp.Clone(); p != nil { t.Errorf("expected nil, got %v", p) } var bp *influxql.BooleanPoint if p := bp.Clone(); p != nil { t.Errorf("expected nil, got %v", p) } }