branch: externals/inspector
commit 505cd1b0775ae830baed5d4b50a0b1a2b018b6d9
Author: Mariano Montone <marianomont...@gmail.com>
Commit: Mariano Montone <marianomont...@gmail.com>

    tests: classes and structs
---
 test.el | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/test.el b/test.el
index b7be51e292..1f07aab297 100644
--- a/test.el
+++ b/test.el
@@ -55,3 +55,14 @@
 (inspector-inspect (record 'foo 23 [bar baz] "rats"))
 
 (inspector-inspect (make-finalizer #'print))
+
+(defclass person ()
+  ((name :initform "John")
+   (age :initform 40)))
+
+(inspector-inspect (make-instance 'person))
+
+(cl-defstruct rectangle
+  x y)
+
+(inspector-inspect (make-rectangle :x 30 :y 40))

Reply via email to