Permalink
Browse files

Fix tests

  • Loading branch information...
1 parent cd26a5c commit 806df1d55e686bc4a7e53ffa3a8989fd806e7701 @joshuaclayton committed Jul 23, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 features/cli.feature
  2. +1 −1 spec/color_scheme_spec.rb
View
@@ -30,15 +30,15 @@ Feature: Run palette from the command line
" Author: Josh Clayton
" Notes: This is a pretty simple example
- let colors_name="valid_scheme"
-
hi clear
if version > 580
if exists("syntax_on")
syntax reset
endif
endif
+ let colors_name="valid_scheme"
+
if has("gui_running")
set background=light
endif
@@ -166,7 +166,7 @@
end
it "generates the color file in the correct order" do
- subject.to_s.should =~ /#{header}.*#{color_scheme_name}.*#{reset}.*#{background}/m
+ subject.to_s.should =~ /#{header}.*#{reset}.*#{color_scheme_name}.*#{background}/m
end
end

0 comments on commit 806df1d

Please sign in to comment.