This is an archive of the discontinued LLVM Phabricator instance.

[libc] simplify printf converter tests
ClosedPublic

Authored by michaelrj on Jun 8 2022, 1:15 PM.

Details

Summary

previously the printf converter tests reused the same string_writer,
which meant that each test depended on the tests before it to succeed.
This makes a new string_writer for each test to simplify and clarify the
tests.

Diff Detail

Event Timeline

michaelrj created this revision.Jun 8 2022, 1:15 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 8 2022, 1:15 PM
michaelrj requested review of this revision.Jun 8 2022, 1:15 PM
sivachandra accepted this revision.Jun 8 2022, 9:57 PM
This revision is now accepted and ready to land.Jun 8 2022, 9:57 PM
This revision was automatically updated to reflect the committed changes.