File: UpgradeTest.vimspec

package info (click to toggle)
vim-autopairs 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 444 kB
  • sloc: makefile: 4
file content (15 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Describe Make sure upgrades work,
    Before each
        call autopairs#Variables#InitVariables()
    End
    It because it should blatantly ignore //n
        let g:AutoPairs = {'{': '}//n'}
        new | only!
        call Expect('{').ToMatch('{}//n')
    End
    It because it should blatantly ignore //k
        let g:AutoPairs = { '<?': '?>//k]' }
        new | only!
        call Expect('<?').ToMatch("<??>//k]")
    End
End