Skip to content

Fix GetStringArray and GetFloatArray test signatures for issue #62#112

Draft
ljluestc wants to merge 1 commit intovalyala:masterfrom
ljluestc:GetStringArray
Draft

Fix GetStringArray and GetFloatArray test signatures for issue #62#112
ljluestc wants to merge 1 commit intovalyala:masterfrom
ljluestc:GetStringArray

Conversation

@ljluestc
Copy link

@ljluestc ljluestc commented May 29, 2025

Updated TestValue_GetStringArray and TestValue_GetFloatArray to handle two return values (got, err := v.Get(tt.path).GetStringArray() and GetFloatArray()).

Kept name, wantErr, and errMsg fields for clear test cases and error validation.

Ensured reflect.DeepEqual compares slices only after error checks.

Preserved TestValue_GetRawString and other tests.

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