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