Permalink
Browse files

Added keywords from Test::Deep

  • Loading branch information...
1 parent b8adddf commit e2007ee866c13deed32aee8a5a0fa927abd493e8 @cub-uanic cub-uanic committed Dec 15, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 syntax/perl.vim
View
3 syntax/perl.vim
@@ -73,6 +73,9 @@ if perl_moose_stuff
" Test::More, Test::Moose and Test::Exception stuff (except for "is", which is already highlighted.)
syn match perlStatementProc "\<\%(plan\|use_ok\|require_ok\|ok\|isnt\|diag\|note\|explain\|like\|unlike\|cmp_ok\|is_deeply\|skip\|can_ok\|isa_ok\|new_ok\|pass\|fail\|skip\|todo_skip\|done_testing\|BAIL_OUT\|meta_ok\|does_ok\|has_attribute_ok\|throws_ok\|dies_ok\|lives_ok\|lives_and\|subtest\)\>"
+ " Test::Deep, except SPECIAL COMPARISONS
+ syn match perlStatementProc "\<\%(cmp_deeply\|cmp_bag\|cmp_set\|cmp_methods\|eq_deeply\|cmp_details\|deep_diag\)\>"
+
" Test::Differences
syn match perlStatementProc "\<\%(eq_or_diff\|eq_or_diff_data\|eq_or_diff_text\|table_diff\|unified_diff\|oldstyle_diff\|context_diff\)\>"

0 comments on commit e2007ee

Please sign in to comment.