diff src/testdir/test_vim9_import.vim @ 27080:9897dd3c6530 v8.2.4069

patch 8.2.4069: Vim9: import test fails on MS-Windows Commit: https://github.com/vim/vim/commit/5d9826973d9f4c6ffbb5648676bb628660c62906 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 12 15:15:27 2022 +0000 patch 8.2.4069: Vim9: import test fails on MS-Windows Problem: Vim9: import test fails on MS-Windows. Solution: Ignore case. Adjust test to avoid name that only differs in case.
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Jan 2022 16:30:06 +0100
parents ceff6a546748
children 1e2a6c6c7e42
line wrap: on
line diff
--- a/src/testdir/test_vim9_import.vim
+++ b/src/testdir/test_vim9_import.vim
@@ -1203,12 +1203,12 @@ def Test_vim9script_autoload_call()
        g:result = 'other'
      enddef
   END
-  writefile(lines, 'Xdir/autoload/other.vim')
+  writefile(lines, 'Xdir/autoload/another.vim')
 
   lines =<< trim END
       vim9script
-      import autoload 'other.vim'
-      call other.Getother()
+      import autoload 'another.vim'
+      call another.Getother()
       assert_equal('other', g:result)
   END
   CheckScriptSuccess(lines)