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

UtAssert_StringBufCompare output of strings could be put on top of each other for easier problem identification #1193

Open
asgibson opened this issue Nov 8, 2021 · 0 comments · May be fixed by #1379

Comments

@asgibson
Copy link
Contributor

asgibson commented Nov 8, 2021

Is your feature request related to a problem? Please describe.
Differences in strings can be hard to identify when they are side by side. Current output:

[ FAIL] 02.003 tests.c:38 - String: 'Space Error?   ?    ?      ?       ?' == 'Space Error?   ?    ?       ?       ?'

Describe the solution you'd like
Stack strings for easier identification of malformations. For example:

[ FAIL] 02.004 tests.c:40 - String:
Received:'Space Error?   ?    ?      ?       ?'
Expected:'Space Error?   ?    ?       ?       ?'

Describe alternatives you've considered
Manual copy and paste into text editor.

Additional context
N/A

Requester Info
Alan Gibson NASA/GSFC 587

jphickey pushed a commit to jphickey/osal that referenced this issue Aug 10, 2022
thnkslprpt added a commit to thnkslprpt/osal that referenced this issue Mar 24, 2023
@thnkslprpt thnkslprpt linked a pull request Mar 24, 2023 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant