ChaiScript/unittests/now_function.chai
leftibot de839bcf4f Fix #660: Fix Windows builds, remove Appveyor, add sanitizer CI builds
Add missing #include <chrono> to src/main.cpp which caused MSVC build
failures since high_resolution_clock and duration_cast were used without
the header (GCC/Clang included it transitively). Remove obsolete
appveyor.yml (superseded by GitHub Actions). Add ASAN+UBSAN build
jobs for Linux and macOS in the CI workflow.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 14:02:59 -06:00

4 lines
100 B
ChaiScript

// Regression test for issue #660: now() requires <chrono> include
var t = now()
assert_true(t > 0)