diff options
author | James McCoy <jamessan@jamessan.com> | 2025-02-22 18:11:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-22 17:11:15 -0800 |
commit | 1c8173487104f905482b1d5a327defadf2c64573 (patch) | |
tree | ab68b0fec44257c7c2b3c6c34666232c810a3395 /runtime/lua/vim/ui.lua | |
parent | 228fe500878073249432e07d8b1cc36b37b42257 (diff) | |
download | rneovim-1c8173487104f905482b1d5a327defadf2c64573.tar.gz rneovim-1c8173487104f905482b1d5a327defadf2c64573.tar.bz2 rneovim-1c8173487104f905482b1d5a327defadf2c64573.zip |
test(unit/strings_spec): show ctx when vim_snprintf content check fails #32570
Same idea as a7be4b7bf857, but that only showed the context if the
length of the string differed. Since these tests check both string
length and string content, the ctx should be provided for both.
ERROR test/unit/testutil.lua @ 797: vim_snprintf() positional arguments
test/unit/testutil.lua:769: test/unit/testutil.lua:753: (string) '
test/unit/strings_spec.lua:159: snprintf(buf, 4, "%1$0.*2$b", 12ULL, cdata<int>: 0xf78c8ed8) = 001100
Expected objects to be the same.
Passed in:
(string) '000'
Expected:
(string) '001''
Diffstat (limited to 'runtime/lua/vim/ui.lua')
0 files changed, 0 insertions, 0 deletions