Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct panic message for ParseMemPackage() #1052

Merged
merged 2 commits into from
Aug 17, 2023

Commits on Aug 16, 2023

  1. fix: correct panic message for ParseMemPackage()

    The ParseMemPackage() function panics when encountering a
    package name mismatch. The panic message stated,
    "expected package name [%s] or [%s_test], but got [%s]". However,
    since we are skipping the _test.gno files, we should never expect
    `[%s_test]` as a package name. This commit fixes the error message
    to accurately reflect this condition.
    
    Signed-off-by: Hariom Verma <hariom.verma@tendermint.com>
    harry-hov committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    433bc4f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b4f1b9 View commit details
    Browse the repository at this point in the history