Skip to content

Commit 2a0418e

Browse files
author
Matevz Morato
committed
Remove spdlog dependency from tests
1 parent 0b67a1f commit 2a0418e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/src/ondevice_tests/logging_test.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <spdlog/spdlog.h>
2-
31
#include <catch2/catch_all.hpp>
42
#include <chrono>
53
#include <thread>
@@ -15,7 +13,7 @@ class LoggingTestFixture {
1513
std::shared_ptr<dai::node::Script> script;
1614
std::shared_ptr<dai::InputQueue> in;
1715
std::shared_ptr<dai::MessageQueue> out;
18-
std::array<bool, spdlog::level::n_levels - 1> arrivedLogs;
16+
std::array<bool, static_cast<int>(dai::LogLevel::OFF)> arrivedLogs;
1917
std::shared_ptr<dai::Device> device;
2018

2119
LoggingTestFixture() {

0 commit comments

Comments
 (0)