[template-glib] tests: test typeof(obj) and typeof(Class) for equality
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [template-glib] tests: test typeof(obj) and typeof(Class) for equality
- Date: Thu, 5 May 2022 05:01:19 +0000 (UTC)
commit e58b2ab911b578d7ef6a0a7439a16181cea11884
Author: Christian Hergert <chergert redhat com>
Date: Wed May 4 22:01:13 2022 -0700
tests: test typeof(obj) and typeof(Class) for equality
tests/test1.script | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/tests/test1.script b/tests/test1.script
index 0bb0e4f..1a68b14 100644
--- a/tests/test1.script
+++ b/tests/test1.script
@@ -60,4 +60,10 @@ assert(myfunc() == 27);
group = Gio.SimpleActionGroup.new()
assert(group)
+t1 = typeof(group)
+t2 = typeof(Gio.SimpleActionGroup)
+assert(t1)
+assert(t2)
+assert(t1 == t2)
+
1234;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]