-
-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
When running npm run start in the Triangle exercise, ./src/Triangle.re is generated with the solution, with all tests passing. Image attached for reference.
I believe this is due to the fact that https://github.com/exercism/reasonml/blob/main/exercises/practice/triangle/src/Triangle.re contains the solution already. The other .re files in other exercises are empty. npm run start generates Triangle.bs.js which the tests are compared against, passing all.
Solution
Delete the code from ./src/Triangle.re in line with the other exercises. The user will have to create this file as they do in other exercises.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels