The demo test expects a list as it is printed
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 <git@eca.dev>
This commit is contained in:
parent
c4efb432cd
commit
9eb71666db
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@
|
||||||
" (code (@ (class \"language-csharp\")) (span (@ (style \"color:#B5CEA8\")) \"1\")))"))
|
" (code (@ (class \"language-csharp\")) (span (@ (style \"color:#B5CEA8\")) \"1\")))"))
|
||||||
(expect "several lines, a newline between them"
|
(expect "several lines, a newline between them"
|
||||||
(->str (highlight->nodes cs "1\n2" #:style 'classes))
|
(->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\"))"))
|
" (span (@ (class \"tm-constant tm-constant-numeric\")) \"2\"))"))
|
||||||
|
|
||||||
;; --- the stylesheet ---------------------------------------------------------
|
;; --- the stylesheet ---------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue