Skip to content

[repo-assist] Tests: add coverage for distinctUntilChanged, takeWhile, skipWhile - #343

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
repo-assist/test-distinctuntilchanged-takewhile-skipwhile-20260901-1a102a89d3ab59a9
Draft

[repo-assist] Tests: add coverage for distinctUntilChanged, takeWhile, skipWhile#343
github-actions[bot] wants to merge 1 commit into
mainfrom
repo-assist/test-distinctuntilchanged-takewhile-skipwhile-20260901-1a102a89d3ab59a9

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds direct test coverage for three public API functions that previously lacked tests of their own:

  • AsyncSeq.distinctUntilChanged — only its WithAsync/With (custom equality) counterparts and AsyncSeq.distinct were tested; the default-equality variant itself was never exercised directly.
  • AsyncSeq.takeWhile — only takeWhileAsync and takeWhileInclusive had tests.
  • AsyncSeq.skipWhile — only skipWhileAsync had a test.

No functional/source changes — test-only PR, following the style of neighboring existing tests (EQ helper for takeWhile/skipWhile, toListSynchronously for distinctUntilChanged).

Test Status

  • dotnet build FSharp.Control.AsyncSeq.sln -c Release — succeeded, 0 errors.
  • dotnet test tests/FSharp.Control.AsyncSeq.Tests -c Release491/491 tests passed (486 pre-existing + 5 new).

🤖 This PR was created by Repo Assist, an automated AI assistant, as a testing-improvement fallback for Task 5 (no clearly beneficial low-risk coding improvement was identified this run). A human maintainer should review before merging.

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@ae8d551f07c7ed7619f8c58c7bb4c3ac89395d38

These sync-predicate/default-equality variants had no direct tests
(only their Async or custom-comparer counterparts were covered).

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