2
0
mirror of https://github.com/boostorg/url.git synced 2026-02-27 17:32:10 +00:00
Files
url/test/unit/rfc/gen_delim_chars.cpp
Vinnie Falco d5b001999c refactor params
fix #475, fix #470, fix #456, fix #455
2022-09-03 13:08:48 -07:00

44 lines
957 B
C++

//
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/CPPAlliance/url
//
// Test that header file is self-contained.
#include <boost/url/rfc/gen_delim_chars.hpp>
#include <boost/url/rfc/pct_encoded_rule.hpp>
#include <boost/url/grammar/parse.hpp>
#include "test_rule.hpp"
namespace boost {
namespace urls {
struct gen_delim_chars_test
{
void
run()
{
// javadoc
{
result< pct_string_view > rv = grammar::parse( "Program%20Files", pct_encoded_rule( gen_delim_chars ) );
(void)rv;
}
test_char_set(
gen_delim_chars,
":/?#[]@");
}
};
TEST_SUITE(
gen_delim_chars_test,
"boost.url.gen_delim_chars");
} // urls
} // boost