Skip to content

[runners/converter] Reject conversion queries without source unit

Commit 6e6c5707 made it so that "1/2" gets correctly rejected (used to match in certain locales such as German), but broke unit tests by matching invalid fraction queries like "4/4>mm".

With this commit, both of these invalid queries get rejected. Also adding more fraction tests with units left out.

CC @alex, who worked on commit 6e6c5707

(My first KDE patch in like a decade! Yay. Hopefully I'm not getting it wrong entirely.)

Edited by Jakob Petsovits

Merge request reports

Loading