mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00
wip: fix a trivial test
This commit is contained in:
parent
dc12a8b4a2
commit
fc8804471a
@ -249,7 +249,7 @@
|
|||||||
(should (equal (snippet--canonicalize-form '(&field 1 (&transform (foo))))
|
(should (equal (snippet--canonicalize-form '(&field 1 (&transform (foo))))
|
||||||
'(&field 1 (&transform (foo)))))
|
'(&field 1 (&transform (foo)))))
|
||||||
(should (equal (snippet--canonicalize-form '(&field 1 (&nested (foo) (bar))))
|
(should (equal (snippet--canonicalize-form '(&field 1 (&nested (foo) (bar))))
|
||||||
'(&field 1 (&nested (foo) (bar)))))
|
'(&field 1 (&nested (&eval (foo)) (&eval (bar))))))
|
||||||
(should (equal (snippet--canonicalize-form '(&field 1))
|
(should (equal (snippet--canonicalize-form '(&field 1))
|
||||||
'(&field 1 nil)))
|
'(&field 1 nil)))
|
||||||
;; mirrors
|
;; mirrors
|
||||||
@ -264,11 +264,11 @@
|
|||||||
;; exit
|
;; exit
|
||||||
;;
|
;;
|
||||||
(should (equal (snippet--canonicalize-form '&exit)
|
(should (equal (snippet--canonicalize-form '&exit)
|
||||||
'(&exit nil nil)))
|
'(&exit (&eval nil))))
|
||||||
(should (equal (snippet--canonicalize-form `(&exit))
|
(should (equal (snippet--canonicalize-form `(&exit))
|
||||||
'(&exit nil nil)))
|
'(&exit (&eval nil))))
|
||||||
(should (equal (snippet--canonicalize-form `(&exit (foo)))
|
(should (equal (snippet--canonicalize-form `(&exit (foo)))
|
||||||
'(&exit nil (&eval (foo)))))
|
'(&exit (&eval (foo)))))
|
||||||
;; constants
|
;; constants
|
||||||
;;
|
;;
|
||||||
(should (equal (snippet--canonicalize-form "bla")
|
(should (equal (snippet--canonicalize-form "bla")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user