rem: BOOST_CHECK(parse("keyword 123", r, space_p).full); BOOST_CHECK(parse("keyword-123", r, space_p).full); BOOST_CHECK(!parse("keyword123", r, space_p).hit);
add: BOOST_TEST(parse("keyword 123", r, space_p).full); BOOST_TEST(parse("keyword-123", r, space_p).full); BOOST_TEST(!parse("keyword123", r, space_p).hit);
context: void distinct_parser_test(){    // distinct_parser()    {        distinct_parser<> distinct_p;        // operator()(CharT const* str) const        rule_t r = distinct_p("keyword") >> !ch_p('-') >> int_p;        BOOST_CHECK(parse("keyword123", r, space_p).full);    }    // distinct_parser(CharT const* letters)    {        distinct_parser<> distinct_p("0-9a-zA-Z_");        // operator()(CharT const* str) const        rule_t r = distinct_p("keyword") >> !ch_p('-') >> int_p;        BOOST_CHECK(parse("keyword 123", r, space_p).full);        BOOST_CHECK(parse("keyword-123", r, space_p).full);        BOOST_CHECK(!parse("keyword123", r, space_p).hit);    }    // distinct_parser(parser<TailT> const & tail_)    {        distinct_parser<            char,            alternative<                alnum_parser,                sequence<                    chlit<>,                    negated_char_parser<chlit<> >                >            >        >            distinct_p(alnum_p | ('-' >> ~ch_p('-')));        // operator()(CharT const* str) const        rule_t r = distinct_p("keyword") >> !str_p("--") >> int_p;        BOOST_CHECK(parse("keyword 123", r, space_p).full);        BOOST_CHECK(parse("keyword--123", r, space_p).full);        BOOST_CHECK(!parse("keyword-123", r, space_p).hit);    }}