Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions test/graphviz_round_trip_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ using graph_t = boost::adjacency_list< boost::vecS, boost::vecS,
boost::directedS, vertex_props, edge_props >;

// First four are valid unquoted DOT ids/numerals
// the rest force quoting or escaping (space, embedded quote, digit-led identifier, multi-dot numeral).
// the rest force quoting or escaping: space, embedded quote, digit-led
// identifier, multi-dot numeral, a lone dash, and a leading non-id character.
const std::vector< std::string >& boundary_labels()
{
static const std::vector< std::string > labels = { "plain", "id_123", "42",
"-3.14", "has space", "has\"quote", "9lives", "1.2.3" };
"-3.14", "has space", "has\"quote", "9lives", "1.2.3", "-", "@home" };
return labels;
}

Expand Down
Loading