feat: Add missing linter metadata for std.manifestTomlEx function

This commit is contained in:
Jayme Bird 2022-02-11 14:41:58 +00:00 committed by Stanisław Barzowski
parent 0d78479d37
commit f0a060e259
3 changed files with 3 additions and 0 deletions

View File

@ -108,6 +108,7 @@ func prepareStdlib(g *typeGraph) {
"manifestIni": g.newSimpleFuncType(stringType, "ini"),
"manifestPython": g.newSimpleFuncType(stringType, "v"),
"manifestPythonVars": g.newSimpleFuncType(stringType, "conf"),
"manifestTomlEx": g.newSimpleFuncType(stringType, "value", "indent"),
"manifestJsonEx": g.newSimpleFuncType(stringType, "value", "indent"),
"manifestYamlDoc": g.newSimpleFuncType(stringType, "value"),
"manifestYamlStream": g.newSimpleFuncType(stringType, "value"),

View File

@ -108,6 +108,7 @@
"manifestJsonEx": "{\n \"a\": {\n \"b\": \"c\"\n }\n}",
"manifestPython": "{\"a\": {\"b\": \"c\"}}",
"manifestPythonVars": "a = {\"b\": \"c\"}\n",
"manifestTomlEx": "\n\n[a]\n b = \"c\"",
"manifestXmlJsonml": "<blah a=\"42\"></blah>",
"manifestYamlDoc": "\"a\":\n \"b\": \"c\"",
"manifestYamlStream": "---\n42\n---\n\"a\":\n \"b\": \"c\"\n...\n",

View File

@ -93,6 +93,7 @@
manifestIni: std.manifestIni(ini={main: {a: 1, b:2}, sections: {s1: {x: 1, y: 2}}}),
manifestPython: std.manifestPython(v={a: {b: "c"}}),
manifestPythonVars: std.manifestPythonVars(conf={a: {b: "c"}}),
manifestTomlEx: std.manifestTomlEx(value={a: {b: "c"}}, indent=" "),
manifestJsonEx: std.manifestJsonEx(value={a: {b: "c"}}, indent=" "),
manifestYamlDoc: std.manifestYamlDoc(value={a: {b: "c"}}),
manifestYamlStream: std.manifestYamlStream(value=[42, {a: {b: "c"}}]),