Skip to content

Commit d28f656

Browse files
committed
Add back the main! function for now
1 parent 6070c0a commit d28f656

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

exercises/practice/robot-simulator/robot-simulator-test.roc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,7 @@ expect {
148148
result == { x: 11, y: 5, direction: North }
149149
}
150150

151-
# Note: this program is only used for tests so it doesn't require a main! function.
151+
# This program is only used to run tests with `roc test`, so main! does nothing.
152+
main! = |_args| {
153+
Ok({})
154+
}

0 commit comments

Comments
 (0)