Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Aug 31, 2018
1 parent e8572fe commit 8c2b6a4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions internal/pas/analytics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,31 @@ func TestInsertEvents(t *testing.T) {
Name: "foo",
Value: 1,
},
{
Type: pas.TypeString,
Name: "type_string",
Value: "test",
},
{
Type: pas.TypeBoolean,
Name: "type_boolean",
Value: true,
},
{
Type: pas.TypeFloat,
Name: "type_float",
Value: 123.456,
},
{
Type: pas.TypeDecimal,
Name: "type_decimal",
Value: 123.456,
},
{
Type: pas.TypeDateTime,
Name: "type_datetime",
Value: "2010-02-03T01:02:03",
},
},
}
events := []pas.Event{e}
Expand Down

0 comments on commit 8c2b6a4

Please sign in to comment.