commit d72d67d3419629eeeefde51ff02614008a91a84c
parent c93d5796206421d80a53b8c8eb8f318963941eac
Author: cfillion <cfillion@users.noreply.github.com>
Date: Mon, 25 Jan 2016 15:12:12 -0500
add a test case for Remote::operator<
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/test/remote.cpp b/test/remote.cpp
@@ -275,3 +275,8 @@ TEST_CASE("remove remote", M) {
list.remove("world"); // no crash
}
+
+TEST_CASE("compare remotes", M) {
+ REQUIRE(Remote("a", "a") < Remote("b", "a"));
+ REQUIRE_FALSE(Remote("a", "a") < Remote("a", "b"));
+}