From: Paul Cochrane Date: Thu, 25 Jun 2015 11:33:47 +0000 (+0200) Subject: Add C<> formatting to code-like text elements X-Git-Tag: v0.11022~34 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FSQL-Translator.git;a=commitdiff_plain;h=9aabed4aa53dc635f22ea3186f62bb16e0e622ab Add C<> formatting to code-like text elements This makes things which are basically code stand out as being such. --- diff --git a/lib/Test/SQL/Translator.pm b/lib/Test/SQL/Translator.pm index cc9f5d5..0b2ade7 100644 --- a/lib/Test/SQL/Translator.pm +++ b/lib/Test/SQL/Translator.pm @@ -536,7 +536,7 @@ __END__ Provides a set of Test::More tests for Schema objects. Testing a parsed schema is then as easy as writing a perl data structure describing how you -expect the schema to look. Also provides maybe_plan for conditionally running +expect the schema to look. Also provides C for conditionally running tests based on their dependencies. The data structures given to the test subs don't have to include all the @@ -600,14 +600,14 @@ maybe_plan =item Test Count Constants -Constants to give the number of tests each *_ok sub uses. e.g. How many tests -does field_ok run? Can then use these to set up the test plan easily. +Constants to give the number of tests each C<*_ok> sub uses. e.g. How many tests +does C run? Can then use these to set up the test plan easily. =item Test skipping As the test subs wrap up lots of tests in one call you can't skip individual tests only whole sets e.g. a whole table or field. -We could add skip_* items to the test hashes to allow per test skips. e.g. +We could add C items to the test hashes to allow per test skips. e.g. skip_is_primary_key => "Need to fix primary key parsing.",