Skip to content
Snippets Groups Projects
Commit 276cc432 authored by David Malcolm's avatar David Malcolm
Browse files

pretty-print: fixes to selftests


Add selftest coverage for %{ and %} in pretty-print.cc

No functional change intended.

gcc/ChangeLog:
	* pretty-print.cc (selftest::test_urls): Make static.
	(selftest::test_urls_from_braces): New.
	(selftest::test_null_urls): Make static.
	(selftest::test_urlification): Likewise.
	(selftest::pretty_print_cc_tests): Call test_urls_from_braces.

Signed-off-by: default avatarDavid Malcolm <dmalcolm@redhat.com>
parent b8357103
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment