Skip to content

Commit 6b07b8e

Browse files
committed
fix tests on M0
1 parent 7229603 commit 6b07b8e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.tests/AdafruitIO_Data/AdafruitIO_Data.ino

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@ void loop() {
1515

1616
plan(8);
1717

18+
char bad_csv[] = "xxxxx";
19+
char good_csv[] = "12.120,42.331427,-83.045754,233";
20+
1821
nok(
19-
data->setCSV((char *)"xxxxx"),
22+
data->setCSV(bad_csv),
2023
"invalid CSV doesn't parse"
2124
);
2225

2326
ok(
24-
data->setCSV((char *)"12.120,42.331427,-83.045754,233"),
27+
data->setCSV(good_csv),
2528
"valid CSV parses"
2629
);
2730

0 commit comments

Comments
 (0)