summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-06-27 14:47:51 +1000
committerjacqueline <me@jacqueline.id.au>2024-06-27 14:47:51 +1000
commit1daa1e9b0fe737ea5dac99f42fdf3c217873443f (patch)
tree96c9b6700b1bb9a5ae51f2a657ec88fc849589fd /src/drivers
parented4460616258870c4666387625a4d8ce0f8636e1 (diff)
downloadtangara-fw-1daa1e9b0fe737ea5dac99f42fdf3c217873443f.tar.gz
update catch2 to v3.6.0
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/test/test_storage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/test/test_storage.cpp b/src/drivers/test/test_storage.cpp
index 7ca62408..31c0a0a7 100644
--- a/src/drivers/test/test_storage.cpp
+++ b/src/drivers/test/test_storage.cpp
@@ -33,7 +33,7 @@ TEST_CASE("sd card storage", "[integration]") {
if (gpios->Get(IGpios::Pin::kSdCardDetect)) {
// Skip if nothing is inserted.
- INFO("no sd card detected; skipping storage tests");
+ SKIP("no sd card detected; skipping storage tests");
return;
}
@@ -67,7 +67,7 @@ TEST_CASE("sd card storage", "[integration]") {
REQUIRE(dir != nullptr);
bool found_test_file = false;
- while (ent = readdir(dir)) {
+ while ((ent = readdir(dir))) {
if (ent->d_name == kTestFilename) {
found_test_file = true;
}