mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-06 02:36:18 +08:00
@@ -1,9 +1,6 @@
|
||||
#include "test_timestamp.hpp"
|
||||
|
||||
#include <ctime>
|
||||
#include <iostream>
|
||||
#include <rfl.hpp>
|
||||
#include <rfl/json.hpp>
|
||||
#include <source_location>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -20,9 +17,7 @@ struct Person {
|
||||
TS birthday;
|
||||
};
|
||||
|
||||
void test() {
|
||||
std::cout << std::source_location::current().function_name() << std::endl;
|
||||
|
||||
TEST(xml, test_timestamp) {
|
||||
const auto result = TS::from_string("nonsense");
|
||||
|
||||
if (result) {
|
||||
|
||||
Reference in New Issue
Block a user