[all-commits] [llvm/llvm-project] b051cc: [NFC][libc++] Refactor some future tests to reduce...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Feb 25 15:17:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b051cc932782998764d2d297bda1e9a18469a1ce
      https://github.com/llvm/llvm-project/commit/b051cc932782998764d2d297bda1e9a18469a1ce
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M libcxx/test/std/thread/futures/futures.unique_future/wait.pass.cpp
    M libcxx/test/std/thread/futures/futures.unique_future/wait_for.pass.cpp

  Log Message:
  -----------
  [NFC][libc++] Refactor some future tests to reduce code duplication

The same test was being repeated over and over again.
That's what functions are for.




More information about the All-commits mailing list