From 87439744b87d80a32ca41a334a19ee633be84e4e Mon Sep 17 00:00:00 2001 From: XeroOl Date: Thu, 1 May 2025 14:16:03 -0500 Subject: [PATCH] rename "check" test to "cli" technically the corresponding item in the real code was renamed to --lint, but that's the file we should use to write future tests. --- test/{check.fnl => cli.fnl} | 4 ++-- test/init.fnl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename test/{check.fnl => cli.fnl} (94%) diff --git a/test/check.fnl b/test/cli.fnl similarity index 94% rename from test/check.fnl rename to test/cli.fnl index 273c674..ed7f279 100644 --- a/test/check.fnl +++ b/test/cli.fnl @@ -2,7 +2,7 @@ ;; TODO refactor fennel-ls.check to avoid running end-to-end ;; (but keep/write at least some end-to-end tests) -(fn test-check [] +(fn test-lint [] (let [input-file-name (os.tmpname)] (doto (io.open input-file-name :w) (: :write "(local x 1)") @@ -15,4 +15,4 @@ (os.remove input-file-name)) nil)) -{: test-check} +{: test-lint} diff --git a/test/init.fnl b/test/init.fnl index c4fcac0..a109e2e 100644 --- a/test/init.fnl +++ b/test/init.fnl @@ -27,4 +27,4 @@ :test.code-action :test.rename :test.misc - :test.check])) + :test.cli]))