Arithmetic Formatter - can’t pass the test

Hi,

Regarding the project: Arithmetic Formatter, my code (shown on replit) returns the error ( Error: Operator must be '+' or '-'. ) as expected. However, it did not pass the test on freecodecamp.org . Eveyone can help me to check? Thanks.

my code: h ttps://replit.com/@leungman99/boilerplate-arithmetic-formatter?v=1
Failed the test on freecodecamp.org :arithmetic_arranger(["3 / 855", "3801 - 2", "45 + 43", "123 + 49"]) should return Error: Operator must be '+' or '-'..

solved. missed a full stop (.) in the error message.

1 Like