Skip to content

Commit

Permalink
Give priority to lib in src directory
Browse files Browse the repository at this point in the history
  • Loading branch information
oupo committed Nov 19, 2010
1 parent e314743 commit a56c002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/support.rb
Expand Up @@ -6,7 +6,7 @@
end
require 'stringio'

root = File.expand_path('../..',__FILE__)
root = File.expand_path('../../lib',__FILE__)
$:.unshift(root) unless $:.include?(root)

require 'graphviz'
Expand Down
2 changes: 1 addition & 1 deletion test/test_init.rb
@@ -1,5 +1,5 @@
require 'test/unit'
$:.unshift("../lib")
$:.unshift(File.expand_path('../../lib',__FILE__))
require 'graphviz'

class GraphVizTest < Test::Unit::TestCase
Expand Down

0 comments on commit a56c002

Please sign in to comment.