Fix Gem executable

This commit is contained in:
Junegunn Choi committed 2013-11-17 01:37:56 +09:00
1 parent 93dafff424
commit be3b948034
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -845,5 +845,5 @@ class FZF
end
end#FZF
FZF.new(ARGV, $stdin).start if $0 == __FILE__
FZF.new(ARGV, $stdin).start if ENV.fetch('FZF_EXECUTABLE', '1') == '1'
+1
View File
@@ -3,6 +3,7 @@
require 'minitest/autorun'
$LOAD_PATH.unshift File.expand_path('../..', __FILE__)
ENV['FZF_EXECUTABLE'] = '0'
load 'fzf'
class TestFZF < MiniTest::Unit::TestCase