mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
13 lines
213 B
C++
13 lines
213 B
C++
#include <iostream>
|
|
|
|
#include "test.h"
|
|
|
|
#include "libipc/imp/error.h"
|
|
#include "libipc/imp/fmt.h"
|
|
|
|
TEST(error, error_code) {
|
|
std::error_code ecode;
|
|
EXPECT_FALSE(ecode);
|
|
std::cout << ipc::fmt(ecode, '\n');
|
|
}
|