2
0
mirror of https://github.com/boostorg/url.git synced 2026-01-29 20:12:13 +00:00
Files
url/test/unit/rfc/sub_delim_chars.cpp
alandefreitas 96438f683e remove type aliases
fix #743
2023-04-28 17:27:26 -03:00

45 lines
970 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/boostorg/url
//
// Test that header file is self-contained.
#include <boost/url/rfc/sub_delim_chars.hpp>
#include <boost/url/grammar/parse.hpp>
#include <boost/url/rfc/pct_encoded_rule.hpp>
#include "test_rule.hpp"
namespace boost {
namespace urls {
struct sub_delim_chars_test
{
void
run()
{
// javadoc
{
system::result< pct_string_view > rv = grammar::parse( "Program%20Files", pct_encoded_rule( sub_delim_chars ) );
(void)rv;
}
test_char_set(
sub_delim_chars,
"!$&()*+,;=\x27");
}
};
TEST_SUITE(
sub_delim_chars_test,
"boost.url.sub_delim_chars");
} // urls
} // boost