mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
13 lines
370 B
Ruby
13 lines
370 B
Ruby
require "testing_env"
|
|
require "requirements/mpi_requirement"
|
|
|
|
class MPIRequirementTests < Homebrew::TestCase
|
|
def test_initialize_untangles_tags_and_wrapper_symbols
|
|
wrappers = [:cc, :cxx, :f77]
|
|
tags = [:optional, "some-other-tag"]
|
|
dep = MPIRequirement.new(*wrappers + tags)
|
|
assert_equal wrappers, dep.lang_list
|
|
assert_equal tags, dep.tags
|
|
end
|
|
end
|