Cleanup "here" test helper

This commit is contained in:
Scott Taylor 2009-12-04 04:48:56 -05:00
parent 74cb8d9ecf
commit b346c80e19

View File

@ -1367,6 +1367,6 @@ class FakeFSTest < Test::Unit::TestCase
end
def here(fname)
RealFile.expand_path(RealFile.dirname(__FILE__)+'/'+fname)
RealFile.expand_path(File.join(RealFile.dirname(__FILE__), fname))
end
end