diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-01-06 06:52:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-06 06:52:52 -0800 |
commit | 83b0054b87f82583873a6e7ef291507c580618b1 (patch) | |
tree | 1e3e8c3ee47b084e774c65f16950350afbd7a1cf /test | |
parent | fa9b057d356edb9de7c778d62aed8d2451de56fb (diff) | |
parent | 83083dd47b0c2880e4e1401f1c751013c533d57f (diff) | |
download | rneovim-83b0054b87f82583873a6e7ef291507c580618b1.tar.gz rneovim-83b0054b87f82583873a6e7ef291507c580618b1.tar.bz2 rneovim-83b0054b87f82583873a6e7ef291507c580618b1.zip |
Merge #11674 'vim-patch:8.0.1786,8.1.{851,1308,1309,1579}'
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/ui/screen_basic_spec.lua | 2 | ||||
-rw-r--r-- | test/unit/eval/helpers.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ui/screen_basic_spec.lua b/test/functional/ui/screen_basic_spec.lua index 150ee2a103..ff9f30d0a1 100644 --- a/test/functional/ui/screen_basic_spec.lua +++ b/test/functional/ui/screen_basic_spec.lua @@ -987,7 +987,7 @@ describe('Screen default colors', function() it('can be set to light', function() startup(true, false) screen:expect{condition=function() - eq({rgb_bg=Screen.colors.White, rgb_fg=0, rgb_sp=Screen.colors.Red, + eq({rgb_fg=Screen.colors.White, rgb_bg=0, rgb_sp=Screen.colors.Red, cterm_bg=0, cterm_fg=0}, screen.default_colors) end} end) diff --git a/test/unit/eval/helpers.lua b/test/unit/eval/helpers.lua index 3d1c42c3a0..bcd7c750c5 100644 --- a/test/unit/eval/helpers.lua +++ b/test/unit/eval/helpers.lua @@ -406,7 +406,7 @@ end local alloc_logging_helpers = { list = function(l) return {func='calloc', args={1, ffi.sizeof('list_T')}, ret=void(l)} end, li = function(li) return {func='malloc', args={ffi.sizeof('listitem_T')}, ret=void(li)} end, - dict = function(d) return {func='malloc', args={ffi.sizeof('dict_T')}, ret=void(d)} end, + dict = function(d) return {func='calloc', args={1, ffi.sizeof('dict_T')}, ret=void(d)} end, di = function(di, size) size = alloc_len(size, function() return di.di_key end) return {func='malloc', args={ffi.offsetof('dictitem_T', 'di_key') + size + 1}, ret=void(di)} |