[all-commits] [llvm/llvm-project] 0bff6a: [libc] simplify printf converter tests

michaelrj-google via All-commits all-commits at lists.llvm.org
Thu Jun 9 10:05:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bff6a3e3913d389bdf8fad4767ae92779cdf1c3
      https://github.com/llvm/llvm-project/commit/0bff6a3e3913d389bdf8fad4767ae92779cdf1c3
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
    M libc/test/src/stdio/printf_core/converter_test.cpp

  Log Message:
  -----------
  [libc] simplify printf converter tests

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.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D127341




More information about the All-commits mailing list