zdharma-continuum / zinit

🌻 Flexible and fast ZSH plugin manager
MIT License
2.89k stars 124 forks source link

Testing wait ice and plugin effects unloading #442

Open psprint opened 1 year ago

psprint commented 1 year ago

Description

I've read about the need on testing wait ice. The following could work, but it doesn't. I'm commiting it so that some other eyes might come up with a solution.

Motivation and Context

Related Issue(s)

Usage examples

How Has This Been Tested?

Types of changes

Checklist:

psprint commented 1 year ago

@vladdoster @pschmitt: The test works correctly now because:

psprint commented 1 year ago

@vladdoster @pschmitt @jankatins I've checked that the added test correctly detects bug breaking of the wait'' ice from #429 and fixes #409.

psprint commented 1 year ago

@vladdoster @pschmitt @jankatins

Added plugin unloading tests (they are based on load''/unload'' ices, so they are tested too).

psprint commented 1 year ago

@vladdoster @pschmitt @alichtman: ping?