Skip to content

fix: should not expand diff by default#516

Merged
9aoy merged 2 commits intomainfrom
not-expand-diff
Aug 27, 2025
Merged

fix: should not expand diff by default#516
9aoy merged 2 commits intomainfrom
not-expand-diff

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Aug 27, 2025

Summary

Some diffs are too long to read.

before:
img_v3_02pi_9dbe8ee3-675c-44c4-a0b1-dd67e7e2bf4g

after:
img_v3_02pi_03d457be-f217-4000-b72b-55b6b7d0c09g

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings August 27, 2025 09:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR modifies the diff generation in test error formatting to prevent automatic expansion of long diffs, improving readability by collapsing lengthy output by default.

  • Updated the diff function call to include expand: false option
  • Maintains existing functionality while improving user experience for large diffs

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@netlify
Copy link
Copy Markdown

netlify bot commented Aug 27, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit b883bc8
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/68aed0470c331a000899d573
😎 Deploy Preview https://deploy-preview-516--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@9aoy 9aoy merged commit 7775f0f into main Aug 27, 2025
16 checks passed
@9aoy 9aoy deleted the not-expand-diff branch August 27, 2025 09:38
@9aoy 9aoy mentioned this pull request Aug 27, 2025
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.

2 participants