Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Run each standalone Lua version once
A plain lua is usually one of the versioned names again, as lua and
lua5.5 are here, so every 5.5 check ran twice, while names such as
lua54 and lua-5.4 were never looked for. A test now names the version
that ran, since "under lua" did not say which one it was.
Diffstat (limited to 'tests/t0502-syntax-highlight.sh')
| -rwxr-xr-x | tests/t0502-syntax-highlight.sh | 4 |
1 file changed, 2 insertions, 2 deletions
diff --git a/tests/t0502-syntax-highlight.sh b/tests/t0502-syntax-highlight.sh index 4b32f82..2d929e4 100755 --- a/tests/t0502-syntax-highlight.sh +++ b/tests/t0502-syntax-highlight.sh @@ -17,13 +17,13 @@ CGIT_TEST_NO_CREATE_REPOS=YesPlease for lua in $interpreters do - test_expect_success "highlighting checks under $lua" " + test_expect_success "highlighting checks under $(lua_version "$lua")" " CGIT_SCINTILLUA_PATH='$EXT_TEST_DIRECTORY/fake-lexers' \ '$lua' '$EXT_TEST_DIRECTORY/test-syntax-highlight.lua' \ '$EXTENSIONS_DIRECTORY/syntax-highlight.lua' highlight " - test_expect_success "fallback checks without lexers under $lua" " + test_expect_success "fallback checks without lexers under $(lua_version "$lua")" " mkdir -p empty-lexers && CGIT_SCINTILLUA_PATH=\"\$PWD/empty-lexers\" \ '$lua' '$EXT_TEST_DIRECTORY/test-syntax-highlight.lua' \ |
