Skip to content

Use arrays for event expectations - #411

Merged
leighmcculloch merged 2 commits into
mainfrom
events-test-arrays
Aug 4, 2026
Merged

Use arrays for event expectations#411
leighmcculloch merged 2 commits into
mainfrom
events-test-arrays

Conversation

@leighmcculloch

@leighmcculloch leighmcculloch commented Aug 3, 2026

Copy link
Copy Markdown
Member

What

Use arrays for expected events in the events example tests.

Why

The expected values do not require std::vec!, matching the preferred API usage.

Note

Companion documentation update: stellar/stellar-docs#2721

Origin: stellar/stellar-docs#2687 (comment)

@leighmcculloch
leighmcculloch marked this pull request as ready for review August 4, 2026 00:49
Copilot AI review requested due to automatic review settings August 4, 2026 00:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates event test expectations to use arrays instead of std::vec!, matching preferred API usage.

Changes:

  • Replaces two single-element vector expectations with arrays.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@leighmcculloch
leighmcculloch requested a review from a team August 4, 2026 01:16
@leighmcculloch
leighmcculloch enabled auto-merge (squash) August 4, 2026 04:40
@leighmcculloch
leighmcculloch merged commit eed5545 into main Aug 4, 2026
134 checks passed
@leighmcculloch
leighmcculloch deleted the events-test-arrays branch August 4, 2026 18:17
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.

3 participants