[all-commits] [llvm/llvm-project] 1348ca: [libc] [NFC] Use matchers in tests

Alex Brachet via All-commits all-commits at lists.llvm.org
Sat Mar 7 19:57:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1348ca404629e2e08dd7aec7c68a7121a63e8c37
      https://github.com/llvm/llvm-project/commit/1348ca404629e2e08dd7aec7c68a7121a63e8c37
  Author: Alex Brachet <alexbrachetmialot at gmail.com>
  Date:   2020-03-07 (Sat, 07 Mar 2020)

  Changed paths:
    M libc/test/src/signal/sigprocmask_test.cpp
    M libc/test/src/sys/mman/linux/mmap_test.cpp
    M libc/utils/testutils/StreamWrapper.cpp

  Log Message:
  -----------
  [libc] [NFC] Use matchers in tests

Summary:
Use `EXPECT_THAT` where possible in tests NFC intended.

Added a `void *` template instantiation of `StreamWrapper::operator<<`

Reviewers: sivachandra, PaulkaToast

Reviewed By: sivachandra

Subscribers: MaskRay, tschuett, libc-commits

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




More information about the All-commits mailing list