aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/test/pipe_spec.yue
blob: 58d48aaca47d74bebbb2ada7f29a1c815a506694 (plain)
1
2
3
4
5
describe "pipe", ->
	it "pipes through functions", ->
		f = (x)-> x + 1
		g = (x)-> x * 2
		assert.same (3 |> f |> g), 8