mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
15 lines
267 B
C++
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');
|
|
}
|