mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
微调ut
This commit is contained in:
parent
21f34bd99c
commit
b30eeaf1f6
@ -51,10 +51,10 @@ TEST(detect_plat, byte_order) {
|
|||||||
|
|
||||||
TEST(detect_plat, fallthrough) {
|
TEST(detect_plat, fallthrough) {
|
||||||
switch (0) {
|
switch (0) {
|
||||||
case 1:
|
case 0:
|
||||||
std::cout << "fallthrough 0\n";
|
std::cout << "fallthrough 0\n";
|
||||||
LIBIPC_FALLTHROUGH;
|
LIBIPC_FALLTHROUGH;
|
||||||
case 0:
|
case 1:
|
||||||
std::cout << "fallthrough 1\n";
|
std::cout << "fallthrough 1\n";
|
||||||
LIBIPC_FALLTHROUGH;
|
LIBIPC_FALLTHROUGH;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user