Skip to content
Browse files

test tweaks for 1.8.7

  • Loading branch information...
1 parent 39f972c commit 7b57ae5f5a33e7fb6636a8704f5e81782ff1e58a @cldwalker cldwalker committed May 14, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/anywhere_mission_test.rb
  2. +1 −1 test/bond_test.rb
View
2 test/anywhere_mission_test.rb
@@ -24,7 +24,7 @@
complete(:anywhere=>'\$[^\s.]*', :search=>false) {|e|
global_variables.grep(/^#{Regexp.escape(e.matched[1])}/)
}
- tab("$LO").should == ["$LOAD_PATH", "$LOADED_FEATURES"]
+ tab("$LO").sort.should == ["$LOADED_FEATURES", "$LOAD_PATH"]
end
it 'with :prefix completes' do
View
2 test/bond_test.rb
@@ -27,7 +27,7 @@
end
it "defines completion in block" do
- Bond.start do
+ Bond.start(:readline_plugin=>valid_readline_plugin) do
complete(:on=>/blah/) { %w{all_quiet on_the western_front}}
end
tab('blah all').should == ["all_quiet"]

0 comments on commit 7b57ae5

Please sign in to comment.
Something went wrong with that request. Please try again.