Skip to content

Commit

Permalink
chore(cmd/influx/write): add test for column separator example
Browse files Browse the repository at this point in the history
  • Loading branch information
sranka committed Apr 9, 2020
1 parent 1a870bd commit 4e7a1c6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions write/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,25 @@ cpu,
`,
`
cpu usage_user=2.7
`,
},
{
"columnSeparator",
`
sep=;
m|measurement;available|boolean:y,Y:|n;dt|dateTime:number
test;nil;1
test;N;2
test;";";3
test;;4
test;Y;5
`,
`
test available=false 1
test available=false 2
test available=false 3
test available=false 4
test available=true 5
`,
},
}
Expand Down

0 comments on commit 4e7a1c6

Please sign in to comment.