mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13: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))))
|
||||
'(&field 1 (&transform (foo)))))
|
||||
(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))
|
||||
'(&field 1 nil)))
|
||||
;; mirrors
|
||||
@ -264,11 +264,11 @@
|
||||
;; exit
|
||||
;;
|
||||
(should (equal (snippet--canonicalize-form '&exit)
|
||||
'(&exit nil nil)))
|
||||
'(&exit (&eval nil))))
|
||||
(should (equal (snippet--canonicalize-form `(&exit))
|
||||
'(&exit nil nil)))
|
||||
'(&exit (&eval nil))))
|
||||
(should (equal (snippet--canonicalize-form `(&exit (foo)))
|
||||
'(&exit nil (&eval (foo)))))
|
||||
'(&exit (&eval (foo)))))
|
||||
;; constants
|
||||
;;
|
||||
(should (equal (snippet--canonicalize-form "bla")
|
||||
|
Loading…
x
Reference in New Issue
Block a user