Skip to content

test(utils): cover lists.first and as_list helpers#10289

Open
Bartok9 wants to merge 1 commit into
marimo-team:mainfrom
Bartok9:top10/test-utils-lists
Open

test(utils): cover lists.first and as_list helpers#10289
Bartok9 wants to merge 1 commit into
marimo-team:mainfrom
Bartok9:top10/test-utils-lists

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

This pull request was authored by a coding agent.

AI-assisted; human-reviewed line-by-line. Submitted under Daniel's standing Top10 merge-culture campaign instruction for Bartok9.

Summary

Adds offline unit coverage for marimo._utils.lists.first and as_list — small helpers used when normalizing server/runtime iterables.

Motivation

These helpers had no dedicated tests. Locking their edge cases (empty iterables, scalar wrap, None[], string-as-iterable) prevents silent behavior drift.

Verification

  • Local import-and-run of each test function against current main — all passed
  • No product code changes

Checklist notes

  • Pure tests (non-substantial; no public API / runtime semantics change)
  • Draft + agent disclosure per AGENTS.md
  • DCO signed-off

Agent-Owner: sera · Platform: hermes · Claim-TTL: 24h

Add offline unit coverage for the small list normalization helpers used
across the server and runtime paths.

Signed-off-by: Bartok9 <danielrpike9@gmail.com>
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment Jul 22, 2026 11:08pm

Request Review

@Bartok9

Bartok9 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@Bartok9
Bartok9 marked this pull request as ready for review July 23, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant