From 66e274cfa6ffda25e23efc7e6d925d9a79866f17 Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Thu, 9 Dec 2010 19:34:46 -0500 Subject: [PATCH] tests: remove unnecessary cpo saving --- tests/test-graph.vim | 5 ----- tests/test-toggle.vim | 5 ----- 2 files changed, 10 deletions(-) diff --git a/tests/test-graph.vim b/tests/test-graph.vim index b320044..114e123 100644 --- a/tests/test-graph.vim +++ b/tests/test-graph.vim @@ -1,6 +1,3 @@ -let s:cpo_save=&cpo -set cpo&vim - UTSuite [Gundo] Testing Toggling function! s:Setup()"{{{ @@ -65,5 +62,3 @@ function! s:TestToggleBranches()"{{{ call g:MoveUp() Assert g:CurrentLineContains("|/") endfunction"}}} - -let &cpo=s:cpo_save diff --git a/tests/test-toggle.vim b/tests/test-toggle.vim index 40a6e1f..8fae277 100644 --- a/tests/test-toggle.vim +++ b/tests/test-toggle.vim @@ -1,6 +1,3 @@ -let s:cpo_save=&cpo -set cpo&vim - UTSuite [Gundo] Testing Toggling function! s:Setup()"{{{ @@ -124,5 +121,3 @@ function! s:TestToggleReturnToTarget()"{{{ " We should be returned to test2 Assert expand('%') == 'test2' endfunction"}}} - -let &cpo=s:cpo_save