Mercurial > vim
view src/typemap @ 32102:69cf75767b88 v9.0.1382
patch 9.0.1382: failing test for strptime() doesn't show returned value
Commit: https://github.com/vim/vim/commit/c142d6513e8d71a8f26c5ca1cb00b7b3de9b15e6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 5 19:27:49 2023 +0000
patch 9.0.1382: failing test for strptime() doesn't show returned value
Problem: Failing test for strptime() doesn't show returned value.
Solution: Use assert_equal() instead of assert_true().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Mar 2023 20:30:04 +0100 |
parents | dec4338a7da2 |
children |
line wrap: on
line source
TYPEMAP VIWIN T_VIOBJNOMUNGE VIBUF T_VIOBJNOMUNGE INPUT T_VIOBJNOMUNGE if (sv_isa($arg, \"${ntype}\")) { IV tmp = SvIV((SV*)SvRV($arg)); $var = INT2PTR($type, tmp); if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")