~ubuntu-branches/debian/sid/neovim/sid

« back to all changes in this revision

Viewing changes to test/functional/legacy/091_context_variables_spec.lua

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2016-04-18 21:42:19 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20160418214219-1e6d4o1fwqarzk46
Tags: 0.1.3-1
* New upstream release.  (Closes: #820562)
* debian/control:
  + Remove unnecessary luarocks Build-Depends
  + Add libkvm-dev Build-Depends for kfreebsd-*
  + Add python(3)-neovim to Recommends.  (Closes: #812737)
  + Declare compiance with policy 3.9.8, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    -- Test for getbufvar().
14
14
    -- Use strings to test for memory leaks.
15
15
    source([[
 
16
      let t:testvar='abcd'
 
17
      $put =string(gettabvar(1, 'testvar'))
 
18
      $put =string(gettabvar(1, 'testvar'))
16
19
      let b:var_num = '1234'
17
20
      let def_num = '5678'
18
21
      $put =string(getbufvar(1, 'var_num'))
125
128
    -- Assert buffer contents.
126
129
    expect([[
127
130
      start:
 
131
      'abcd'
 
132
      'abcd'
128
133
      '1234'
129
134
      '1234'
130
135
      {'var_num': '1234'}