golang / mock

GoMock is a mocking framework for the Go programming language.
Apache License 2.0
9.28k stars 610 forks source link

fix parse array with the external const correctly #569

Closed sryoya closed 3 years ago

sryoya commented 3 years ago

Fixes #561 - Panic on array parsing if length is externally defined

It also fixes the following minor problems in TestParseArrayWithConstLength, a test function related to this feature.

sryoya commented 3 years ago

Thanks for the review 🌵 I've either fixed or replied to your comments.

codyoss commented 3 years ago

@sryoya Thank you for your contribution! 🎆