mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
parent
dbf6f7bc99
commit
4eb2ad7db7
3 changed files with 24 additions and 1 deletions
|
@ -65,6 +65,16 @@ let
|
|||
expected = "<lua code>";
|
||||
};
|
||||
|
||||
testToLuaObjectInlineLua = {
|
||||
expr = helpers.toLuaObject (lib.generators.mkLuaInline "<lua code>");
|
||||
expected = "(<lua code>)";
|
||||
};
|
||||
|
||||
testToLuaObjectInlineLuaNested = {
|
||||
expr = helpers.toLuaObject { lua = lib.generators.mkLuaInline "<lua code>"; };
|
||||
expected = "{ lua = (<lua code>) }";
|
||||
};
|
||||
|
||||
testToLuaObjectLuaTableMixingList = {
|
||||
expr = helpers.toLuaObject {
|
||||
"__unkeyed...." = "foo";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue