cpp-ipc/test/imp/test_imp_error.cpp
2023-09-09 13:25:47 +08:00

15 lines
267 B
C++

#include <iostream>
#include "gtest/gtest.h"
#include "libimp/error.h"
#include "libimp/result.h"
#include "libimp/fmt.h"
#include "libimp/codecvt.h"
TEST(error, error_code) {
std::error_code ecode;
EXPECT_FALSE(ecode);
std::cout << imp::fmt(ecode, '\n');
}