Skip to content

Commit c4ec6a7

Browse files
committed
test: rename
1 parent df8bf9a commit c4ec6a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_arrays.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ local luaunit = require("luaunit")
3737
local arrays = require("arrays")
3838

3939
---@diagnostic disable-next-line: unused-function, unused-local
40-
TEST_ARRAYS = {
41-
test_get_from_forwards = function()
40+
TEST_GET_FROM = {
41+
test_forwards = function()
4242
local items = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }
4343
luaunit.assert_equals(arrays.get_from(items, 0, 0), {})
4444
luaunit.assert_equals(arrays.get_from(items, 0, 1), { 1 })
@@ -55,7 +55,7 @@ TEST_ARRAYS = {
5555
luaunit.assert_equals(arrays.get_from(items, 99, 999), {})
5656
luaunit.assert_equals(arrays.get_from(items, 999, 99), {})
5757
end,
58-
test_get_from_backwards = function()
58+
test_backwards = function()
5959
local items = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }
6060
luaunit.assert_equals(arrays.get_from(items, 99, 999), {})
6161
luaunit.assert_equals(arrays.get_from(items, 999, 99), {})

0 commit comments

Comments
 (0)