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

internal: refactor test utils #326

Merged
merged 5 commits into from
Sep 19, 2024
Merged

internal: refactor test utils #326

merged 5 commits into from
Sep 19, 2024

Conversation

lijunchen
Copy link
Contributor

@lijunchen lijunchen commented Sep 19, 2024

simplify test utils,

get_stdout: get stdout on success and replace dir, backslash, CRLF, etc.
get_stderr: get stderr on success and replace dir, backslash, CRLF, etc.
get_err_stdout: get stdout on failure and replace dir, backslash, CRLF, etc.
get_err_stderr: get stdout on failure and replace dir, backslash, CRLF, etc.

cc @Young-Flash

Type of Pull Request

  • Bug fix
  • New feature
    • I have already discussed this feature with the maintainers.
  • Refactor
  • Performance optimization
  • Documentation
  • Other (please describe):

Does this PR change existing behavior?

  • Yes (please describe the changes below)

  • No

Does this PR introduce new dependencies?

  • No
  • Yes (please check binary size changes)

Checklist:

  • Tests added/updated for bug fixes or new features
  • Compatible with Windows/Linux/macOS

@lijunchen lijunchen changed the title Refactor test util internal: refactor test utils Sep 19, 2024
@lijunchen lijunchen merged commit fcf022d into main Sep 19, 2024
9 checks passed
@lijunchen lijunchen deleted the refactor-test-util branch September 19, 2024 08:11
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