[gtk+] Update grid tests to match



commit 0f17a846a04b1775230e5b37744fb3da9e5ab127
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Oct 25 23:20:37 2011 -0400

    Update grid tests to match
    
    The previous fix changed some test results here.

 gtk/tests/grid.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/tests/grid.c b/gtk/tests/grid.c
index 90be1fd..845e51a 100644
--- a/gtk/tests/grid.c
+++ b/gtk/tests/grid.c
@@ -39,7 +39,7 @@ test_attach (void)
                            "width", &width,
                            "height", &height,
                            NULL);
-  g_assert_cmpint (left,   ==, 0);
+  g_assert_cmpint (left,   ==, -1);
   g_assert_cmpint (top,    ==, 0);
   g_assert_cmpint (width,  ==, 1);
   g_assert_cmpint (height, ==, 1);
@@ -53,7 +53,7 @@ test_attach (void)
                            "width", &width,
                            "height", &height,
                            NULL);
-  g_assert_cmpint (left,   ==, 1);
+  g_assert_cmpint (left,   ==, 0);
   g_assert_cmpint (top,    ==, 0);
   g_assert_cmpint (width,  ==, 2);
   g_assert_cmpint (height, ==, 2);
@@ -70,7 +70,7 @@ test_attach (void)
                            "width", &width,
                            "height", &height,
                            NULL);
-  g_assert_cmpint (left,   ==, 0);
+  g_assert_cmpint (left,   ==, -1);
   g_assert_cmpint (top,    ==, 1);
   g_assert_cmpint (width,  ==, 3);
   g_assert_cmpint (height, ==, 1);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]