Permalink
Browse files

Keep clean context for custom matcher tests

  • Loading branch information...
1 parent e399c3a commit 924b888423e835559a5d9035dd5dff3e8f8e3bed @kana committed Oct 24, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 t/custom-matchers.vim
View
@@ -1,4 +1,14 @@
+call vspec#hint({'scope': 'vspec#scope()'})
+
describe 'vspec#customize_matcher'
+ before
+ let b:custom_matchers = copy(Ref('s:custom_matchers'))
+ end
+
+ after
+ call Set('s:custom_matchers', b:custom_matchers)
+ end
+
it 'still supports old style usage'
let caught = !!0
try

0 comments on commit 924b888

Please sign in to comment.