diff options
| author | ruki <[email protected]> | 2022-05-28 23:44:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-28 23:44:04 +0800 |
| commit | 95035513c59fe9a225b3d59c36f2de442addcc38 (patch) | |
| tree | bb643cbe00a1cce2c6ed8c2173dd97c68cc3cdf2 /tests/modules/table/test.lua | |
| parent | 0f3f57cf66da0d16fdc322a87de3dbc0dff189cd (diff) | |
fix tests
Diffstat (limited to 'tests/modules/table/test.lua')
| -rw-r--r-- | tests/modules/table/test.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modules/table/test.lua b/tests/modules/table/test.lua index 569f18e50..007782cf4 100644 --- a/tests/modules/table/test.lua +++ b/tests/modules/table/test.lua @@ -16,7 +16,7 @@ function test_wrap(t) t:are_equal(table.wrap({}), {}) t:are_equal(table.wrap({1}), {1}) t:are_equal(table.wrap({{}}), {{}}) - local a = table.wraplock({1}) + local a = table.wrap_lock({1}) t:are_equal(table.wrap({a}), {a}) end @@ -26,6 +26,6 @@ function test_unwrap(t) t:are_equal(table.unwrap({}), {}) t:are_equal(table.unwrap({1}), 1) t:are_equal(table.unwrap({{}}), {}) - local a = table.wraplock({1}) + local a = table.wrap_lock({1}) t:are_equal(table.unwrap(a), a) end |
