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

refactor: add previous mock line into re-mock panic information #11

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

Sychorius
Copy link
Collaborator

refactor: add previous mock line into re-mock panic information

What this PR does / why we need it (en: English/zh: Chinese):

en: add previous mock line into re-mock panic information. So users can fast-locate where target last mocked
zh: 当发生re-mock错误时在panic信息里添加最近一次mock的代码位置,以便使用者快速定位

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

license-eye has totally checked 49 files.

Valid Invalid Ignored Fixed
48 1 0 0
Click to see the invalid file list
  • tests/remock_test.go

tests/remock_test.go Outdated Show resolved Hide resolved
Change-Id: Ib8212f06a8d694c0bdf32ecb08d93f2efcd86e79
@Sychorius Sychorius merged commit 8267634 into main Jan 4, 2023
@ycydsxy ycydsxy deleted the feat/remock_panic_msg branch January 5, 2023 11:39
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.

3 participants