Skip to content

Commit ea92456

Browse files
committed
formatting
1 parent f9d4c7a commit ea92456

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

api/expects

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,19 @@
3434
#include <os.hpp>
3535
inline void __expect_emit_failure(std::string_view msg, std::string_view panic_text) {
3636
#ifndef UNITTESTS
37+
3738
#ifdef INCLUDEOS_SMP_ENABLE
3839
SMP::global_lock();
3940
#endif
41+
4042
std::fprintf(stderr, "%.*s\n", int(msg.size()), msg.data());
4143
fflush(NULL);
4244
#ifdef INCLUDEOS_SMP_ENABLE
4345
SMP::global_unlock();
4446
#endif
4547
os::panic(std::string(panic_text).c_str());
46-
#else // TEST
48+
49+
#else // UNITTESTS
4750
(void) panic_text;
4851
// throw here to allow tests to capture the error
4952
#include <stdexcept>

0 commit comments

Comments
 (0)