aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2025-01-28 20:32:40 -0500
committerJames McCoy <jamessan@jamessan.com>2025-01-28 20:32:40 -0500
commita7be4b7bf857de9680ee3d1723a9f616e8a20776 (patch)
tree0a2fdfbc5d77529f05f5bf0b0033ab7bfe04bd18 /runtime/lua/vim/_meta/options.lua
parent6711fa27ca6e822bfd2394ec513671617cc53efd (diff)
downloadrneovim-a7be4b7bf857de9680ee3d1723a9f616e8a20776.tar.gz
rneovim-a7be4b7bf857de9680ee3d1723a9f616e8a20776.tar.bz2
rneovim-a7be4b7bf857de9680ee3d1723a9f616e8a20776.zip
test(unit/strings_spec): provide context for vim_snprintf tests
Since these assertions all use a common function to perform the test assertions, it's difficult to figure out which test failed: ERROR test/unit/testutil.lua @ 785: vim_snprintf() positional arguments test/unit/testutil.lua:757: test/unit/testutil.lua:741: (string) ' test/unit/strings_spec.lua:143: Expected objects to be the same. Passed in: (number) 6400 Expected: (number) 6' exit code: 256 Adding context to the assertion makes it clearer what the problem is: ERROR test/unit/testutil.lua @ 785: vim_snprintf() positional arguments test/unit/testutil.lua:757: test/unit/testutil.lua:741: (string) ' test/unit/strings_spec.lua:149: snprintf(buf, 0, "%1$0.*2$b", cdata<unsigned int>: 0xf78d0f38, cdata<int>: 0xf78dc4e0) = 001100 Expected objects to be the same. Passed in: (number) 6400 Expected: (number) 6' exit code: 256
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
0 files changed, 0 insertions, 0 deletions