From f1454bbbd13a71da2005ff789cde2da0e9eb81f6 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 22 Jan 2026 15:03:12 +0800 Subject: Adding tests. --- spec/inputs/test/pipe_spec.yue | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 spec/inputs/test/pipe_spec.yue (limited to 'spec/inputs/test/pipe_spec.yue') diff --git a/spec/inputs/test/pipe_spec.yue b/spec/inputs/test/pipe_spec.yue new file mode 100644 index 0000000..58d48aa --- /dev/null +++ b/spec/inputs/test/pipe_spec.yue @@ -0,0 +1,5 @@ +describe "pipe", -> + it "pipes through functions", -> + f = (x)-> x + 1 + g = (x)-> x * 2 + assert.same (3 |> f |> g), 8 -- cgit v1.2.3-55-g6feb