You're probably misunderstanding what to do, read the kata description again:
Given an expression, figure out the value of the rune represented by the question mark. If more than one digit works, give the lowest one. If no digit works, well, that's bad news for the professor - it means that he's got some of his runes wrong. output -1 in that case.
Don't get what you're saying there, could you provide the input and expected answer of those tests?
From Voile's post below, that operation translates to this:
0 / 117 -> 0 / 89 -> 0
Actual and expected seems to be flipped on some tests.
That
You're probably misunderstanding what to do, read the kata description again: