mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-22 14:57:33 +02:00
Fixed failing test
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "Print.h"
|
||||
#include <string.h> // for strcmp
|
||||
|
||||
namespace ArduinoJson
|
||||
{
|
||||
@ -21,6 +22,11 @@ namespace ArduinoJson
|
||||
}
|
||||
|
||||
size_t printTo(Print&) const;
|
||||
|
||||
bool equals(char const* s)
|
||||
{
|
||||
return strcmp(s, rawString) == 0;
|
||||
}
|
||||
|
||||
private:
|
||||
const char* rawString;
|
||||
|
Reference in New Issue
Block a user