chromatic wrote:


        map ,ton  <ESC>:%s/More tests =>/More 'no_plan'; # tests =>/<CR>
        map ,toff <ESC>:%s/More 'no_plan'; # /More /<CR>$b

My standard just-created test file has the line:

        use Test::More 'no_plan'; # tests => 1;

Then I use ,toff and ,ton as necessary. ,toff also puts my cursor in the right place to change the test number, by the way.

Like a charm!  Thanks, c.

jimk

Reply via email to