microsoft / cppwinrt

C++/WinRT
MIT License
1.64k stars 238 forks source link

Fix flaky clock and line-number tests #1294

Closed oldnewthing closed 1 year ago

oldnewthing commented 1 year ago

Clock test needs to take double-rounding of time_t into account.

Fix fragility in line-number test by using #line directive.