From b7a65e07dc2024c99c7cc47e540362d3847f1fec Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Thu, 6 Nov 2025 21:26:37 -0800 Subject: [PATCH] fix test issues --- src/compiler/tests/pipe.test.ts | 4 ++-- src/compiler/tests/ribbit.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compiler/tests/pipe.test.ts b/src/compiler/tests/pipe.test.ts index 1d08dec..06d56c3 100644 --- a/src/compiler/tests/pipe.test.ts +++ b/src/compiler/tests/pipe.test.ts @@ -89,7 +89,7 @@ describe('pipe expressions', () => { test('pipe with prelude function (echo)', () => { expect(` get-msg = do: 'hello' end - get-msg | echo - `).toEvaluateTo(null) + get-msg | length + `).toEvaluateTo(5) }) }) diff --git a/src/compiler/tests/ribbit.test.ts b/src/compiler/tests/ribbit.test.ts index e2bb6c2..def34c4 100644 --- a/src/compiler/tests/ribbit.test.ts +++ b/src/compiler/tests/ribbit.test.ts @@ -83,7 +83,7 @@ end test('custom tags', () => { expect(` -list = tag ul class=list +list = tag ul class='list' ribbit: list: li border-bottom='1px solid black' one