diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-18 22:04:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-18 22:04:56 +0200 |
commit | 181d4f58cc421f2e6d3b16333d4cb70d35ad1342 (patch) | |
tree | f6fbadef4bd189213a08c6ef630f93c55a9a919b /src/testdir/test_profile.vim | |
parent | cebfcffa40c058119bc2f92f0db02dffd3f6affe (diff) | |
download | vim-git-181d4f58cc421f2e6d3b16333d4cb70d35ad1342.tar.gz |
patch 8.1.2055: not easy to jump to function line from profilev8.1.2055
Problem: Not easy to jump to function line from profile.
Solution: Use "file:99" instead of "file line 99" so that "gf" works.
(Daniel Hahler, closes #4951)
Diffstat (limited to 'src/testdir/test_profile.vim')
-rw-r--r-- | src/testdir/test_profile.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_profile.vim b/src/testdir/test_profile.vim index d0546df86..a4ce13510 100644 --- a/src/testdir/test_profile.vim +++ b/src/testdir/test_profile.vim @@ -55,7 +55,7 @@ func Test_profile_func() call assert_equal(30, len(lines)) call assert_equal('FUNCTION Foo1()', lines[0]) - call assert_match('Defined:.*Xprofile_func.vim', lines[1]) + call assert_match('Defined:.*Xprofile_func.vim:3', lines[1]) call assert_equal('Called 2 times', lines[2]) call assert_match('^Total time:\s\+\d\+\.\d\+$', lines[3]) call assert_match('^ Self time:\s\+\d\+\.\d\+$', lines[4]) |