Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test: add golden file test for ConvertState#20832

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Emyrk merged 7 commits intomainfromstevenmasley/convert_state_refactor
Nov 21, 2025

Conversation

@Emyrk
Copy link
Member

@EmyrkEmyrk commentedNov 19, 2025
edited
Loading

RefactoringConvertState is something we should eventually do. This PR adds a golden file unit test for the output ofConvertState (even errors).

That way if a refactor occurs, we can verify the output is unchanged for our test cases.

@EmyrkGraphite App
Copy link
MemberAuthor

Emyrk commentedNov 19, 2025
edited
Loading

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

golden file test is to prevent regressions in behavior. It is goingto be used as a benchmark for a refactor
@EmyrkEmyrkforce-pushed thestevenmasley/convert_state_refactor branch fromd879360 to18fa1ffCompareNovember 19, 2025 17:49
@EmyrkEmyrk mentioned this pull requestNov 19, 2025
@EmyrkEmyrkforce-pushed thestevenmasley/convert_state_refactor branch from6849ee9 to7cbbc20CompareNovember 19, 2025 18:11
@EmyrkEmyrkforce-pushed thestevenmasley/convert_state_refactor branch from57ea109 to2ee6b40CompareNovember 20, 2025 18:30
@EmyrkEmyrk marked this pull request as ready for reviewNovember 20, 2025 18:30
// If the directory is missing these files, we cannot run ConvertState
// on it. So it's skipped.
ifsrcIdc==-1||dotIdx==-1 {
continue
Copy link
Contributor

Choose a reason for hiding this comment

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

This should log indicating so.

Copy link
Contributor

@dannykoppingdannykopping left a comment

Choose a reason for hiding this comment

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

LGTM, with a couple small nits
I don't need to review again

Thanks alot for adding these!

@EmyrkEmyrk merged commita61b8bc intomainNov 21, 2025
31 checks passed
@EmyrkEmyrk deleted the stevenmasley/convert_state_refactor branchNovember 21, 2025 13:27
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsNov 21, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@dannykoppingdannykoppingdannykopping approved these changes

Assignees

@EmyrkEmyrk

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@Emyrk@dannykopping

[8]ページ先頭

©2009-2025 Movatter.jp