mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 00:26:19 +08:00
@@ -1,5 +1,3 @@
|
||||
#include "test_empty_object.hpp"
|
||||
|
||||
#include <iostream>
|
||||
#include <rfl.hpp>
|
||||
#include <rfl/json.hpp>
|
||||
@@ -13,9 +11,7 @@ namespace test_empty_object {
|
||||
|
||||
struct Empty {};
|
||||
|
||||
void test() {
|
||||
std::cout << std::source_location::current().function_name() << std::endl;
|
||||
|
||||
TEST(json, test_empty_object) {
|
||||
const auto empty = Empty{};
|
||||
|
||||
write_and_read(empty, R"({})");
|
||||
|
||||
Reference in New Issue
Block a user