tests: use TEST_ASSERT_ERRNO_IS()
authorBartosz Golaszewski <bartekgola@gmail.com>
Fri, 29 Sep 2017 15:22:16 +0000 (17:22 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Fri, 29 Sep 2017 15:22:16 +0000 (17:22 +0200)
commit920d8e8947876c15f522e34e31ffa854fb29374b
tree77932a7159512466ad78dcae2051c6b8880da02c
parentae0fc2690321b18e91935a7d8f999c1b0131ea67
tests: use TEST_ASSERT_ERRNO_IS()

Use the new assert macro wherever we're checking the errno value.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/tests-chip.c
tests/tests-line.c
tests/tests-simple-api.c