diff src/testdir/test_vim9_import.vim @ 29930:cd573d7bc30d v9.0.0303

patch 9.0.0303: it is not easy to get information about a script Commit: https://github.com/vim/vim/commit/2f892d8663498c21296ad6661dac1bb8372cfd10 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Aug 28 18:52:10 2022 +0100 patch 9.0.0303: it is not easy to get information about a script Problem: It is not easy to get information about a script. Solution: Make getscriptinf() return the version. When selecting a specific script return functions and variables. (Yegappan Lakshmanan, closes #10991)
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Aug 2022 20:00:05 +0200
parents 8dca33bca038
children d891115c0aea
line wrap: on
line diff
--- a/src/testdir/test_vim9_import.vim
+++ b/src/testdir/test_vim9_import.vim
@@ -741,6 +741,7 @@ def Test_use_relative_autoload_import_in
   assert_true(len(l) == 1)
   assert_match('XrelautoloadExport.vim$', l[0].name)
   assert_false(l[0].autoload)
+  assert_equal(999999, l[0].version)
 
   unlet g:result
   delete('XrelautoloadExport.vim')