From 9eb71666db9bc91091c50c3e7ede3cdc1e6f6b22d8b343059b7575cd077ccc7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Bj=C3=B6rnstam?= Date: Sat, 17 Oct 2026 18:43:33 +0200 Subject: [PATCH] The demo test expects a list as it is printed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The check of several lines wanted the nodes as '((span ...) ...). ->str writes a list without a quote, so the check failed. It wants ((span ...) ...) now. 🤖 Generated with [ECA](https://eca.dev) (anthropic/claude-opus-4-7) Co-Authored-By: eca-agent --- tests/demo.bjo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/demo.bjo b/tests/demo.bjo index aba0bb9..669b618 100644 --- a/tests/demo.bjo +++ b/tests/demo.bjo @@ -149,7 +149,7 @@ " (code (@ (class \"language-csharp\")) (span (@ (style \"color:#B5CEA8\")) \"1\")))")) (expect "several lines, a newline between them" (->str (highlight->nodes cs "1\n2" #:style 'classes)) - (str "'((span (@ (class \"tm-constant tm-constant-numeric\")) \"1\") \"\\n\"" + (str "((span (@ (class \"tm-constant tm-constant-numeric\")) \"1\") \"\\n\"" " (span (@ (class \"tm-constant tm-constant-numeric\")) \"2\"))")) ;; --- the stylesheet ---------------------------------------------------------