diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-24 22:58:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-24 22:58:31 +0200 |
commit | 4c313b13fb7bfa694ec6d2a13175e8650c007b2a (patch) | |
tree | 36db216d522e889c7d86027dfa69f8d5a686c2ed /src/testdir/test_environ.vim | |
parent | a8eee21e75324d199acb1663cb5009e03014a13a (diff) |
patch 8.1.1925: more functions can be used as methodsv8.1.1925
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_environ.vim')
-rw-r--r-- | src/testdir/test_environ.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_environ.vim b/src/testdir/test_environ.vim index 21bb09a690..ba61b17d5c 100644 --- a/src/testdir/test_environ.vim +++ b/src/testdir/test_environ.vim @@ -11,7 +11,7 @@ endfunc func Test_getenv() unlet! $TESTENV - call assert_equal(v:null, getenv('TESTENV')) + call assert_equal(v:null, 'TESTENV'->getenv()) let $TESTENV = 'foo' call assert_equal('foo', getenv('TESTENV')) endfunc |