Skip to content

[repo-assist] Tests: add coverage for zapp, zappAsync, and compareWithAsync - #329

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
repo-assist/improve-test-coverage-zapp-comparewithasync-74e4c2e1a32f82a6
Draft

[repo-assist] Tests: add coverage for zapp, zappAsync, and compareWithAsync#329
github-actions[bot] wants to merge 1 commit into
mainfrom
repo-assist/improve-test-coverage-zapp-comparewithasync-74e4c2e1a32f82a6

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🤖 This pull request was created by Repo Assist, an automated AI assistant.

Summary

AsyncSeq.zapp, AsyncSeq.zappAsync, and AsyncSeq.compareWithAsync had no dedicated tests. This PR adds comprehensive test coverage for all three.

Changes

  • 11 new tests in AsyncSeqTests.fs:
    • AsyncSeq.zapp — 4 tests covering: basic application, stopping when functions run out, stopping when values run out, empty functions sequence
    • AsyncSeq.zappAsync — 2 tests covering: basic async application, empty values sequence
    • AsyncSeq.compareWithAsync — 5 tests covering: equal sequences, shorter < longer, longer > shorter, lexicographic difference, both empty

Root Cause

These functions were already implemented and correct; they simply had no test coverage, making them invisible to the test suite.

Test Status

✅ Build succeeded (0 errors, 12 pre-existing warnings)
✅ All 487 tests pass (Passed: 487, Failed: 0) — up from 476 before this PR

Generated by 🌈 Repo Assist, see workflow run. Learn more.
Comment /repo-assist to run again

Add this agentic workflow to your repo

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@42c2ab5b4e4c9273534c39259b2e0df7f20f07e9

These three functions had no dedicated tests. This commit adds:
- 6 tests for AsyncSeq.zapp (function application, short-circuiting, empty cases)
- 2 tests for AsyncSeq.zappAsync (async function application, empty case)
- 5 tests for AsyncSeq.compareWithAsync (equal, shorter, longer, lexicographic, empty)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants