[all-commits] [llvm/llvm-project] 0df9a7: [NFC][libc++][chrono] Improves test coverage.

Mark de Wever via All-commits all-commits at lists.llvm.org
Wed Dec 21 08:53:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0df9a72f283a5c2b6f0435bd988e1fd70ed5b477
      https://github.com/llvm/llvm-project/commit/0df9a72f283a5c2b6f0435bd988e1fd70ed5b477
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-12-21 (Wed, 21 Dec 2022)

  Changed paths:
    M libcxx/test/std/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.sys_days.pass.cpp

  Log Message:
  -----------
  [NFC][libc++][chrono] Improves test coverage.

The function year_month_weekday::sys_days should work properly with a
weekday index of 0 per [time.cal.ymwd.members]/20. This adds a test for
this case.

Reviewed By: #libc, ldionne

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




More information about the All-commits mailing list