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

cli/compose/loader: use golden.Assert() for readability #4760

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

thaJeztah
Copy link
Member

golden.AssertBytes prints the failure as a bytes-array, which makes it not human-readable; let's compare strings instead.

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

golden.AssertBytes prints the failure as a bytes-array, which makes
it not human-readable; let's compare strings instead.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@codecov-commenter
Copy link

codecov-commenter commented Jan 8, 2024

Codecov Report

Merging #4760 (26f59b2) into master (9db56ea) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4760   +/-   ##
=======================================
  Coverage   59.62%   59.62%           
=======================================
  Files         287      287           
  Lines       24777    24777           
=======================================
  Hits        14774    14774           
  Misses       9117     9117           
  Partials      886      886           

Copy link
Member

@laurazard laurazard left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah thaJeztah merged commit cfe18f5 into docker:master Jan 8, 2024
76 checks passed
@thaJeztah thaJeztah deleted the improve_asserts branch January 8, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants