chewing / chewing-editor

Cross platform chewing user phrase editor
https://chewing.im/
GNU General Public License v2.0
30 stars 52 forks source link

Reduce all duplicated spaces #211

Open david50407 opened 7 years ago

david50407 commented 7 years ago

Fixed #204, replacing all duplicated spaces (included single tab and tabs) into single space.

I move testBopomofo method from UserphraseModel into a new util BopomofoUtil, IMO, this function is not that related to the model. And we can create tests for this more easily (without including the main program).

cc @jserv @czchen

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.2%) to 95.082% when pulling 06f65f709c12f21be9adb6bce8455ac1ec0ffb08 on david50407:fix/reduce_spaces_in_bopomofo into 16792669286670d1dfef5589628828e9ea16e619 on chewing:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.2%) to 95.082% when pulling 06f65f709c12f21be9adb6bce8455ac1ec0ffb08 on david50407:fix/reduce_spaces_in_bopomofo into 16792669286670d1dfef5589628828e9ea16e619 on chewing:master.

jserv commented 7 years ago

Improve the subject of Git commit message. At least, summarize the work first.