From 5a194a3e0dc01d7ba0d9ad81030284ebda13cbd6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 8 Dec 2025 02:08:47 -0500 Subject: Add checks for unused variables --- test/paths.tm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/paths.tm') diff --git a/test/paths.tm b/test/paths.tm index a0ae4384..6622847e 100644 --- a/test/paths.tm +++ b/test/paths.tm @@ -30,7 +30,7 @@ func main() assert (./does-not-exist.xxx).read() == none assert (./does-not-exist.xxx).read_bytes() == none - if lines := (./does-not-exist.xxx).by_line() then + if (./does-not-exist.xxx).by_line() fail("I could read lines in a nonexistent file") else pass -- cgit v1.2.3