diff --git a/CLAUDE.md b/CLAUDE.md index ccb33a6..1ebccee 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,4 +4,3 @@ A tiny, dependency-free Node library used as Radial's throwaway build target. - Tests run with `npm test` (`node --test`). No install step — there are no deps. - Keep functions pure and exported from `src/`. -- One test is currently failing on purpose, so a build turn has something real to fix. diff --git a/src/calc.js b/src/calc.js index 5f5f81a..c4b4a20 100644 --- a/src/calc.js +++ b/src/calc.js @@ -1,10 +1,9 @@ -// A tiny pure-function library. `multiply` is intentionally left unimplemented -// so the build target ships with one failing test for a build turn to fix. +// A tiny pure-function library. export function add(a, b) { return a + b; } export function multiply(a, b) { - throw new Error('multiply not implemented'); + return a * b; }