zdharma-continuum.zinit/tests
Vladislav Doster 4d98cd4563 test(ice-validation): fix two assertions that could not hold
wait-invalid-suffix-x asserted on 'Expected one of: a, b, c', but
+zi-log colourises each suffix letter separately, so the raw output
carries escape sequences between them and no such contiguous substring
exists. Strip the escapes before asserting on the sentence.

for-invalid-as asserted rc 0 while the load ran on to
∞zinit-compile-plugin-hook, which returns 1 for this fixture ("No files
for compilation found") and made `zinit for' exit 1 for a reason
unrelated to the invalid ice under test. Add nocompile so the test
measures ice validation only.

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 03:28:26 -05:00
..
_output refactor: zunit tests & gh-r logic (#201) 2022-04-24 05:24:10 -05:00
_support fix: compile command logic when using id-as ice (#619) 2024-03-03 23:43:48 -06:00
annexes.zunit fix: failing zunit tests & bootstrap script 2023-01-05 04:36:25 -06:00
commands.zunit test: added tests for zinit self-update. Throw error if unsupported arguments are provided. 2026-03-03 09:22:24 +01:00
compile.zunit fix: compile command logic when using id-as ice (#619) 2024-03-03 23:43:48 -06:00
config-zstyle.zunit feat(zsh): allow configuring settings like HOME_DIR/BIN_DIR via zstyle 2026-06-18 19:05:42 -05:00
gh-r.zunit ## Fix extract ice not working during zinit update for from'gh-r' (#780) 2026-05-30 22:39:06 +02:00
hook-handler.zunit test(hook-handler): stop re-sourcing zinit.zsh in @setup 2026-08-27 03:28:26 -05:00
ice-validation.zunit test(ice-validation): fix two assertions that could not hold 2026-08-27 03:28:26 -05:00
ices.zunit test(ices): add $OLDPWD regression coverage for ice loading 2026-08-27 03:28:26 -05:00
plugins.zunit fix: Update various tools in gh-r tests (#759) 2026-02-01 09:43:27 +01:00
snippets.zunit fix: gh-r zunit tests (#691) 2025-01-26 00:01:13 +01:00