emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/inspector 505cd1b077 50/93: tests: classes and structs


From: ELPA Syncer
Subject: [elpa] externals/inspector 505cd1b077 50/93: tests: classes and structs
Date: Tue, 24 May 2022 18:57:58 -0400 (EDT)

branch: externals/inspector
commit 505cd1b0775ae830baed5d4b50a0b1a2b018b6d9
Author: Mariano Montone <marianomontone@gmail.com>
Commit: Mariano Montone <marianomontone@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

[Prev in Thread] Current Thread [Next in Thread]