test: Add Lisp-style comment tests to file watcher

This commit is contained in:
Matteo Landi (aider) 2025-03-26 08:17:29 +01:00
parent f05f8df44c
commit 7d5f1143af
2 changed files with 28 additions and 0 deletions

19
tests/fixtures/watch.lisp vendored Normal file
View file

@ -0,0 +1,19 @@
(defun hello-world ()
;; ai this is a simple hello world function
(format t "Hello, World!"))
(defun add (a b)
; ai! fix this function to handle nil values
(+ a b))
(defun multiply (a b)
;;; ai? why is this function not working with large numbers?
(* a b))
; ai this is a single semicolon comment
;; ai this is a double semicolon comment
;;; ai this is a triple semicolon comment
;;;; ai! this is a quadruple semicolon comment