diff --git a/__tests__/.gitignore b/__tests__/.gitignore index ffb0f9b..9645041 100644 --- a/__tests__/.gitignore +++ b/__tests__/.gitignore @@ -1,2 +1 @@ -rules.grl -rules.json \ No newline at end of file +rules.grl \ No newline at end of file diff --git a/__tests__/transpiler/cases/0052 - slice_add_itens/rules.json b/__tests__/transpiler/cases/0052 - slice_add_itens/rules.json new file mode 100644 index 0000000..4dcc931 --- /dev/null +++ b/__tests__/transpiler/cases/0052 - slice_add_itens/rules.json @@ -0,0 +1,18 @@ +{ + "tags": [ + { + "condition": "($gender == \"F\")", + "value": { + "client": "Woman" + }, + "type": "object" + }, + { + "condition": "($gender == \"F\")", + "value": { + "client": "Man" + }, + "type": "object" + } + ] +}