Skip to content
Snippets Groups Projects
Unverified Commit acf99637 authored by bryanl's avatar bryanl
Browse files

Set/unset param globals


Signed-off-by: default avatarbryanl <bryanliles@gmail.com>
parent bcf0de28
No related branches found
No related tags found
No related merge requests found
......@@ -379,10 +379,10 @@ func TestToMap(t *testing.T) {
isErr: true,
},
{
name: "unable to find object in params",
name: "unable to convert object to map",
paramsData: test.ReadTestData(t, "nested-params.libsonnet"),
init: func() {
jsonnetFindObjectFn = func(*astext.Object, []string) (*astext.Object, error) {
convertObjectToMapFn = func(*astext.Object) (map[string]interface{}, error) {
return nil, errors.New("failed")
}
},
......
{}
\ No newline at end of file
{
group: "dev",
}
\ No newline at end of file
{
group: "dev",
}
\ No newline at end of file
{
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment