[vte] iconv: Fix a broken unittest



commit 8a17c8ee4474b84414e5ed35a604ff3abfbe3fbe
Author: Egmont Koblinger <egmont gmail com>
Date:   Fri May 16 13:33:01 2014 +0200

    iconv: Fix a broken unittest

 src/vteconv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vteconv.c b/src/vteconv.c
index 271ee87..2709793 100644
--- a/src/vteconv.c
+++ b/src/vteconv.c
@@ -582,7 +582,7 @@ main(int argc, char **argv)
                        g_assert((ret == -1) && (errno == EINVAL));
                        break;
                case 1:
-                       g_assert((ret == -1) && (errno == EINVAL));
+                       g_assert((ret == -1) && (errno == EILSEQ));
                        break;
                case 2:
                        g_assert((ret == -1) && (errno == EILSEQ));


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