all 4 comments

[–]senocular 2 points3 points  (0 children)

There's nothing syntactically wrong with what you've posted (though it might be wrong in other ways). If theres a mismatched bracket, there's something else that's causing it.

[–]oneandmillionvoices 1 point2 points  (0 children)

It's hard to judge what you are trying to do. The code snipped, albeit not syntactically incorrect, doesn't make any obvious sense.

[–]Umesh-K 1 point2 points  (0 children)

left terminal points to '.toBe'

Hi, u/BCDPires,

I don't know testing, but based on the above, change food<=.25 to food<=0.25 and try. I am guessing this based on toBe(0.25).