aboutsummaryrefslogtreecommitdiff
path: root/ruby/dep_spec_TEST.rb
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-02 15:14:21 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commit1a8319191a0c4a585fab173199a2c898c76f30c3 (patch)
tree39ae0ee349e25f0b420fbd72cc43bd4ba3007d8d /ruby/dep_spec_TEST.rb
parentf243a4014b98275a3ebb7872faadab5ba1fcafa8 (diff)
downloadpaludis-1a8319191a0c4a585fab173199a2c898c76f30c3.tar.gz
paludis-1a8319191a0c4a585fab173199a2c898c76f30c3.tar.xz
Version requirements to constraints
Diffstat (limited to 'ruby/dep_spec_TEST.rb')
-rw-r--r--ruby/dep_spec_TEST.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/ruby/dep_spec_TEST.rb b/ruby/dep_spec_TEST.rb
index d0d63e3f1..d8bb8929e 100644
--- a/ruby/dep_spec_TEST.rb
+++ b/ruby/dep_spec_TEST.rb
@@ -203,22 +203,6 @@ module Paludis
assert_nil pde.category_name_part_constraint
end
- def test_version_requirements
- assert_kind_of Array, pda.version_requirements
- assert_equal 1, pda.version_requirements.size
- assert_equal VersionSpec.new('1'), pda.version_requirements.first[:spec]
- assert_equal ">=", pda.version_requirements.first[:operator]
- assert_equal 0, pdb.version_requirements.size
- assert_equal 0, pdc.version_requirements.size
- assert_equal 0, pdd.version_requirements.size
- assert_equal 0, pde.version_requirements.size
- end
-
- def test_version_requirements_mode
- assert_kind_of Fixnum, pda.version_requirements_mode
- assert_equal VersionRequirementsMode::And, pda.version_requirements_mode
- end
-
### def test_use_requirements
### assert_kind_of Array, pda.use_requirements
### assert_equal 2, pda.use_requirements.size