[wpiutil] Refactor SpanMatcher and TestPrinters from ntcore (#5658)

This commit is contained in:
Peter Johnson
2023-09-18 00:11:36 -07:00
committed by GitHub
parent 9fe258427a
commit 7be290147c
14 changed files with 86 additions and 45 deletions

View File

@@ -4,8 +4,6 @@
#include "TestPrinters.h"
#include <wpi/json.h>
#include "Handle.h"
#include "PubSubOptions.h"
#include "net/Message.h"
@@ -13,12 +11,6 @@
#include "networktables/NetworkTableValue.h"
#include "ntcore_cpp.h"
namespace wpi {
void PrintTo(const json& val, ::std::ostream* os) {
*os << val.dump();
}
} // namespace wpi
namespace nt {
void PrintTo(const Event& event, std::ostream* os) {