test/anywhere_mission_test.rb in bond-0.2.0 vs test/anywhere_mission_test.rb in bond-0.2.1

- old
+ new

@@ -22,10 +22,10 @@ it 'with special chars and custom search completes' do 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 complete(:prefix=>'_', :anywhere=>':[^:\s.]*') { %w{:ab :bd :ae} } tab("_:a").should == %w{_:ab _:ae} \ No newline at end of file