[libgee] Small typo in tests (it might cuased some false passes but it didn't)
- From: Maciej Marcin Piechotka <mpiechotka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgee] Small typo in tests (it might cuased some false passes but it didn't)
- Date: Sat, 21 Aug 2010 20:20:55 +0000 (UTC)
commit 87bd2e2d858752d0f3bb161c0a8141b729d72e9c
Author: Maciej Piechotka <uzytkownik2 gmail com>
Date: Sat Aug 21 22:20:14 2010 +0200
Small typo in tests (it might cuased some false passes but it didn't)
tests/testfunctions.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/testfunctions.vala b/tests/testfunctions.vala
index 57598ee..a241cfd 100644
--- a/tests/testfunctions.vala
+++ b/tests/testfunctions.vala
@@ -52,7 +52,7 @@ public class FunctionsTests : Gee.TestCase {
assert (cmp (one, two) < 0);
assert (!eq (two, one));
- assert (cmp (two, one) >= 0);
+ assert (cmp (two, one) > 0);
}
public void test_int_func () {
@@ -75,7 +75,7 @@ public class FunctionsTests : Gee.TestCase {
assert (cmp (one, two) < 0);
assert (!eq (two, one));
- assert (cmp (two, one) >= 0);
+ assert (cmp (two, one) > 0);
}
public void test_compare_func () {
@@ -103,7 +103,7 @@ public class FunctionsTests : Gee.TestCase {
assert (cmp (one, two) < 0);
assert (!eq (two, one));
- assert (cmp (two, one) >= 0);
+ assert (cmp (two, one) > 0);
}
private class MyComparable : GLib.Object, Gee.Comparable<MyComparable> {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]