SUMMARY type 1+1 <enter> then +1. Result = 1. Seriously! STEPS TO REPRODUCE 1. type 1+1 2. enter 3. type +1 OBSERVED RESULT 1 EXPECTED RESULT 3 ADDITIONAL INFORMATION I'm expecting the (completely unnecessary) restyle to have broken this.
And closed... The current git version doesn't have this bug.
(In reply to Mark from comment #1) > And closed... The current git version doesn't have this bug. Thanks.
To amend. I just went over the code a little and i did notice you have testcases. It is probably smart to add a testcase that tests for this kind of math chaining (with enters in between). All current tests, as far as i understand them, seem to be solving just one sum and checking it's output.
(In reply to Mark from comment #3) > To amend. I just went over the code a little and i did notice you have > testcases. It is probably smart to add a testcase that tests for this kind > of math chaining (with enters in between). All current tests, as far as i > understand them, seem to be solving just one sum and checking it's output. Already done in https://invent.kde.org/utilities/kcalc/-/blob/master/appiumtests/chain_results_test.py?ref_type=heads