Shizcow / dmenu-rs

A pixel perfect port of dmenu, rewritten in Rust with extensive plugin support
GNU General Public License v3.0
197 stars 9 forks source link

stest: fix bugs that deviate from original stest #57

Closed benjaminedwardwebb closed 9 months ago

benjaminedwardwebb commented 9 months ago

This fixes a couple bugs in stest where its behavior deviated from the original C implementation.

There's more detail than anyone probably cares to read in one of the commit messages. Shorter commentary on the issues can be found in stest's config.rs.

This is also related to the issue raised in #56.

These changes were verified by additional tests in the integration_tests.rs file. I also built the changes and tested dmenu_run on my local system with a missing ~/.cache/dmenu_run file. The cache file was recreated as expected.

Shizcow commented 9 months ago

Looks great. Thanks again for taking over the stest portion of this project.