aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-06-04 13:09:53 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-06-04 13:09:53 +0000
commit9d562f59ada1bdcfb86dea66f443cfac59c8d71c (patch)
treea621ddfb8b5b3c0c57758507772f75396d66c144
parent2431fb04a9c0c4844bf2637a92a97ca1def2275a (diff)
downloadpaludis-9d562f59ada1bdcfb86dea66f443cfac59c8d71c.tar.gz
paludis-9d562f59ada1bdcfb86dea66f443cfac59c8d71c.tar.xz
Typo tidle -> tilde
-rw-r--r--paludis/version_operator.cc6
-rw-r--r--paludis/version_operator.hh2
-rw-r--r--paludis/version_operator_TEST.cc4
3 files changed, 6 insertions, 6 deletions
diff --git a/paludis/version_operator.cc b/paludis/version_operator.cc
index 796717e..d646b5c 100644
--- a/paludis/version_operator.cc
+++ b/paludis/version_operator.cc
@@ -46,7 +46,7 @@ VersionOperator::_decode(const std::string & v)
return vo_less;
case '~':
- return vo_tidle;
+ return vo_tilde;
}
case 2:
@@ -83,7 +83,7 @@ paludis::operator<< (std::ostream & s, const VersionOperator & v)
s << "<";
continue;
- case vo_tidle:
+ case vo_tilde:
s << "~";
continue;
@@ -120,7 +120,7 @@ bool (VersionSpec::* VersionOperator::as_version_spec_operator() const)(const Ve
return &VersionSpec::operator<= ;
case vo_equal:
return &VersionSpec::operator== ;
- case vo_tidle:
+ case vo_tilde:
return &VersionSpec::tilde_compare ;
case vo_greater:
return &VersionSpec::operator> ;
diff --git a/paludis/version_operator.hh b/paludis/version_operator.hh
index a91e616..f5e031c 100644
--- a/paludis/version_operator.hh
+++ b/paludis/version_operator.hh
@@ -44,7 +44,7 @@ namespace paludis
vo_less_equal, ///< <= dependency
vo_less, ///< < dependency
vo_equal, ///< = dependency
- vo_tidle, ///< ~ dependency
+ vo_tilde, ///< ~ dependency
vo_greater, ///< > dependency
vo_greater_equal, ///< >= dependency
vo_equal_star, ///< =* dependency
diff --git a/paludis/version_operator_TEST.cc b/paludis/version_operator_TEST.cc
index c6fb4a9..94d9a39 100644
--- a/paludis/version_operator_TEST.cc
+++ b/paludis/version_operator_TEST.cc
@@ -88,7 +88,7 @@ namespace test_cases
TEST_CHECK_EQUAL(VersionOperator("<"), VersionOperator(vo_less));
TEST_CHECK_EQUAL(VersionOperator("<="), VersionOperator(vo_less_equal));
TEST_CHECK_EQUAL(VersionOperator("="), VersionOperator(vo_equal));
- TEST_CHECK_EQUAL(VersionOperator("~"), VersionOperator(vo_tidle));
+ TEST_CHECK_EQUAL(VersionOperator("~"), VersionOperator(vo_tilde));
TEST_CHECK_EQUAL(VersionOperator(">"), VersionOperator(vo_greater));
TEST_CHECK_EQUAL(VersionOperator(">="), VersionOperator(vo_greater_equal));
}
@@ -107,7 +107,7 @@ namespace test_cases
{
TEST_CHECK_EQUAL(stringify(VersionOperator(vo_greater)), ">");
TEST_CHECK_EQUAL(stringify(VersionOperator(vo_equal)), "=");
- TEST_CHECK_EQUAL(stringify(VersionOperator(vo_tidle)), "~");
+ TEST_CHECK_EQUAL(stringify(VersionOperator(vo_tilde)), "~");
}
} test_version_operator_to_string;
}