aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-09-26 16:20:23 +0200
committerGitHub <noreply@github.com>2021-09-26 16:20:23 +0200
commit68d6ff880249cd91993b376dadfb130c24a95f82 (patch)
treef5593187d9173f066ddb65d5110f528fde980531 /test/functional
parentb3b02eb52943fdc8ba74af3b485e9d11655bc9c9 (diff)
parentac3288d556965b0aaae03c59244278700eb598e8 (diff)
downloadrneovim-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.lua4
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)