[gjs] testIntrospection: Verify we warn also when trying to use MININT64



commit 9b8065a72cc0b695102a43b8a60596801fe92adc
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Tue May 12 19:12:35 2020 +0200

    testIntrospection: Verify we warn also when trying to use MININT64

 installed-tests/js/testIntrospection.js | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/installed-tests/js/testIntrospection.js b/installed-tests/js/testIntrospection.js
index 44c504ac..3f96139c 100644
--- a/installed-tests/js/testIntrospection.js
+++ b/installed-tests/js/testIntrospection.js
@@ -20,6 +20,9 @@ describe('Unsafe integer marshalling', function () {
             '*cannot be safely stored*');
         GLib.test_expect_message('Gjs', GLib.LogLevelFlags.LEVEL_WARNING,
             '*cannot be safely stored*');
+        GLib.test_expect_message('Gjs', GLib.LogLevelFlags.LEVEL_WARNING,
+            '*cannot be safely stored*');
+        void GLib.MININT64;
         void GLib.MAXINT64;
         void GLib.MAXUINT64;
         GLib.test_assert_expected_messages_internal('Gjs',


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