Skip to content
Snippets Groups Projects
Commit a6771cd3 authored by Jack Nagel's avatar Jack Nagel
Browse files

Initial tests for superenv sanity

parent a0312086
No related branches found
No related tags found
No related merge requests found
require 'testing_env'
require 'extend/ENV/super'
class SuperenvTests < Test::Unit::TestCase
attr_reader :env, :bin
def setup
@env = {}.extend(Superenv)
@bin = HOMEBREW_REPOSITORY/"Library/ENV/#{MacOS::Xcode.version}"
bin.mkpath
end
def test_bin
assert_equal bin, Superenv.bin
end
def test_initializes_deps
assert_equal [], env.deps
assert_equal [], env.keg_only_deps
end
def teardown
bin.rmtree
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment