Skip to content

Block

Given a file named “pen.json” with:

{
"type": "library",
"dependencies": {}
}

Given a file named “Foo.pen” with:

f = \(x number) number {
y = x
y
}

When I run pen build

Then the exit status should be 0.

Given a file named “Foo.pen” with:

f = \() none {
none
}
g = \() none {
f()
none
}

When I run pen build

Then the exit status should be 0.

Given a file named “Foo.pen” with:

f = \() none {
none
}
g = \() none {
none
}
h = \(x boolean) none {
if x {
f()
} else {
g()
}
none
}

When I run pen build

Then the exit status should be 0.