diff options
Diffstat (limited to 'test/functional/ui/sign_spec.lua')
| -rw-r--r-- | test/functional/ui/sign_spec.lua | 32 | 
1 files changed, 18 insertions, 14 deletions
| diff --git a/test/functional/ui/sign_spec.lua b/test/functional/ui/sign_spec.lua index 2b6e294627..eabd05b349 100644 --- a/test/functional/ui/sign_spec.lua +++ b/test/functional/ui/sign_spec.lua @@ -9,7 +9,11 @@ describe('Signs', function()      clear()      screen = Screen.new()      screen:attach() -    screen:set_default_attr_ignore( {{}, {bold=true, foreground=255}} )  +    screen:set_default_attr_ids( { +      [0] = {bold=true, foreground=255}, +      [1] = {background = Screen.colors.Yellow}, +      [2] = {foreground = Screen.colors.DarkBlue, background = Screen.colors.Grey}, +    } )    end)    after_each(function() @@ -25,19 +29,19 @@ describe('Signs', function()        execute('sign place 2 line=3 name=piet buffer=1')        execute('sign place 3 line=1 name=pietx buffer=1')        screen:expect([[ -        >!a                                                  | -          b                                                  | -        >>c                                                  | -          ^                                                   | -          ~                                                  | -          ~                                                  | -          ~                                                  | -          ~                                                  | -          ~                                                  | -          ~                                                  | -          ~                                                  | -          ~                                                  | -          ~                                                  | +        {1:>!}a                                                  | +        {2:  }b                                                  | +        {1:>>}c                                                  | +        {2:  }^                                                   | +        {2:  }{0:~                                                  }| +        {2:  }{0:~                                                  }| +        {2:  }{0:~                                                  }| +        {2:  }{0:~                                                  }| +        {2:  }{0:~                                                  }| +        {2:  }{0:~                                                  }| +        {2:  }{0:~                                                  }| +        {2:  }{0:~                                                  }| +        {2:  }{0:~                                                  }|          :sign place 3 line=1 name=pietx buffer=1             |        ]])      end) | 
