Skip to content

Commit a8fb6c2

Browse files
committed
Full coverage
1 parent 9b617c4 commit a8fb6c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_businout.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ TEST_CASE("Constructors and mode")
1010
REQUIRE(getModeAtPin(2) == INPUT_PULLUP);
1111
REQUIRE(getModeAtPin(4) == INPUT_PULLUP);
1212

13-
BusInOut test2({5,6,7});
13+
int pins[] = {5,6,7};
14+
BusInOut test2(pins);
1415
test2.mode(OUTPUT);
1516

1617
REQUIRE(getModeAtPin(5) == OUTPUT);

0 commit comments

Comments
 (0)