Currently, this test doesn't test what it was originally intended to
(that lvm-mc doesn't crash when disassembling a line that ends with a
space). This patch readds the space to the input so that this
functionality is actually tested and adds a comment describing what the
test does. The space seems to have been inadvertently removed in
c8d578311473fceb50579906658b0c017ef5b193 and then never added back
in.
Details
Details
- Reviewers
mehdi_amini MaskRay - Commits
- rG71dbd864f19f: [llvm-mc] Fix line_end_with_space.test
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Your change to line_end_with_space.test does not seem to end with a non-newline whitespace.
Something like RUN: echo -n ' ' | llvm-mc -disassemble may be more obvious.