aboutsummaryrefslogtreecommitdiff
path: root/paludis/version_operator_TEST.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/version_operator_TEST.cc')
-rw-r--r--paludis/version_operator_TEST.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/paludis/version_operator_TEST.cc b/paludis/version_operator_TEST.cc
index dfbe27a..991d919 100644
--- a/paludis/version_operator_TEST.cc
+++ b/paludis/version_operator_TEST.cc
@@ -88,6 +88,7 @@ namespace test_cases
TEST_CHECK_EQUAL(VersionOperator("~"), VersionOperator(vo_tilde));
TEST_CHECK_EQUAL(VersionOperator(">"), VersionOperator(vo_greater));
TEST_CHECK_EQUAL(VersionOperator(">="), VersionOperator(vo_greater_equal));
+ TEST_CHECK_EQUAL(VersionOperator("~>"), VersionOperator(vo_tilde_greater));
}
} test_version_operator_from_string;
@@ -104,6 +105,7 @@ namespace test_cases
TEST_CHECK_EQUAL(stringify(VersionOperator(vo_greater)), ">");
TEST_CHECK_EQUAL(stringify(VersionOperator(vo_equal)), "=");
TEST_CHECK_EQUAL(stringify(VersionOperator(vo_tilde)), "~");
+ TEST_CHECK_EQUAL(stringify(VersionOperator(vo_tilde_greater)), "~>");
}
} test_version_operator_to_string;
}