mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Split test struct and handler macros out for the emitter/spec tests
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include "teststruct.h"
|
||||
#pragma once
|
||||
|
||||
#include "yaml-cpp/yaml.h"
|
||||
@@ -5,8 +6,6 @@
|
||||
#include <string>
|
||||
#include <cassert>
|
||||
|
||||
#define YAML_ASSERT(cond) do { if(!(cond)) return " Assert failed: " #cond; } while(false)
|
||||
|
||||
namespace Test {
|
||||
std::string Quote(const std::string& text) {
|
||||
YAML::Emitter out;
|
||||
|
Reference in New Issue
Block a user