41 json_pointer::parse_error::invalid_first_character,
42 json_pointer::try_parse(
"a").
error());
44 json_pointer::parse_error::invalid_escape_sequence,
45 json_pointer::try_parse(
"/~").
error());
47 json_pointer::parse_error::invalid_escape_sequence,
48 json_pointer::try_parse(
"/~x").
error());
size_t parse(const char *buf, size_t len)
TEST_F(JsonPointerTest, ValidPointers)
#define EXPECT_EQ(val1, val2)
requires And< SemiMovable< VN >... > &&SemiMovable< E > auto error(E e)
internal::ElementsAreArrayMatcher< typename::std::iterator_traits< Iter >::value_type > ElementsAreArray(Iter first, Iter last)
#define EXPECT_TRUE(condition)
#define EXPECT_THAT(value, matcher)
#define EXPECT_FALSE(condition)
static const char tokens[256]