push
github
datetime: fixed timestamp type check in set() Missed 'invalid timestamp' tests for `new()` (regular behaviour) and for `set()` (old behaviour) added also. Fixes #12411 @TarantoolBot document Title: Datetime `set()` timestamp type check fixed. For backward compatibility the `compat.datetime_setfn_timestamp_type_check` option has been introduced. It's disabled by default for now ('old' behaviour), which means no type check is performed. The 'new' behaviour (with type check) is planned to be set as the default in version 4.x. Required docu page: https://tarantool.io/compat/datetime_setfn_timestamp_type_check See DATETIME_SETFN_TIMESTAMP_TYPE_CHECK_BRIEF in compat.lua for details. (cherry picked from commit df461f1a2)
68816 of 116391 branches covered (59.12%)
1 of 1 new or added line in 1 file covered. (100.0%)
68 existing lines in 18 files now uncovered.103585 of 118262 relevant lines covered (87.59%)
1642960.37 hits per line