forked from bblanchon/ArduinoJson
Added RawJson() to insert pregenerated JSON portions (issue #259)
This commit is contained in:
1 parent
c77c3f33ef
commit
a6724bd03f
11 files changed
+131
-130
No files matched your search
+1
-3
@@ -14,13 +14,11 @@
|
||||
|
||||
#define SUITE Issue90
|
||||
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
static const char* superLong =
|
||||
"12345678901234567890123456789012345678901234567890123456789012345678901234"
|
||||
"5678901234567890123456789012345678901234567890123456789012345678901234567";
|
||||
|
||||
static const JsonVariant variant = Unparsed(superLong);
|
||||
static const JsonVariant variant = RawJson(superLong);
|
||||
|
||||
TEST(SUITE, IsNotALong) { ASSERT_FALSE(variant.is<long>()); }
|
||||
|
||||
|
||||
Reference in new issue
Block a user