diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-09-26 16:20:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-26 16:20:23 +0200 |
commit | 68d6ff880249cd91993b376dadfb130c24a95f82 (patch) | |
tree | f5593187d9173f066ddb65d5110f528fde980531 /test/functional | |
parent | b3b02eb52943fdc8ba74af3b485e9d11655bc9c9 (diff) | |
parent | ac3288d556965b0aaae03c59244278700eb598e8 (diff) | |
download | rneovim-68d6ff880249cd91993b376dadfb130c24a95f82.tar.gz rneovim-68d6ff880249cd91993b376dadfb130c24a95f82.tar.bz2 rneovim-68d6ff880249cd91993b376dadfb130c24a95f82.zip |
Merge pull request #15721 from bfredl/electricboogalo
fix(runtime): some ordering issues (and start work on cache mechanism)
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/core/startup_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua index ff93f88a2d..41c80ab95c 100644 --- a/test/functional/core/startup_spec.lua +++ b/test/functional/core/startup_spec.lua @@ -351,12 +351,12 @@ describe('startup', function() it("handles the correct order with start packages and after/", function() pack_clear [[ lua _G.test_loadorder = {} vim.cmd "runtime! filen.lua" ]] - eq({'ordinary', 'FANCY', 'ordinary after', 'FANCY after'}, exec_lua [[ return _G.test_loadorder ]]) + eq({'ordinary', 'FANCY', 'FANCY after', 'ordinary after'}, exec_lua [[ return _G.test_loadorder ]]) end) it("handles the correct order with opt packages and after/", function() pack_clear [[ lua _G.test_loadorder = {} vim.cmd "packadd! superspecial\nruntime! filen.lua" ]] - eq({'ordinary', 'SuperSpecial', 'FANCY', 'SuperSpecial after', 'ordinary after', 'FANCY after'}, exec_lua [[ return _G.test_loadorder ]]) + eq({'ordinary', 'SuperSpecial', 'FANCY', 'FANCY after', 'SuperSpecial after', 'ordinary after'}, exec_lua [[ return _G.test_loadorder ]]) end) end) |