bug(tdc.expression_reguliere): invalid regexp should not raise error
This commit is contained in:
parent
6dc8496d3d
commit
29d36973ba
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ describe Procedure::ErrorsSummary, type: :component do
|
||||||
{ libelle: 'repetition requires children', type: :repetition, children: [] },
|
{ libelle: 'repetition requires children', type: :repetition, children: [] },
|
||||||
{ libelle: 'drop down list requires options', type: :drop_down_list, options: [] },
|
{ libelle: 'drop down list requires options', type: :drop_down_list, options: [] },
|
||||||
{ libelle: 'invalid condition', type: :text, condition: ds_eq(constant(true), constant(1)) },
|
{ libelle: 'invalid condition', type: :text, condition: ds_eq(constant(true), constant(1)) },
|
||||||
{ libelle: 'header sections must have consistent order', type: :header_section, level: 2 }
|
{ libelle: 'header sections must have consistent order', type: :header_section, level: 2 },
|
||||||
|
{ libelle: 'regexp invalid', type: :expression_reguliere, expression_reguliere_exemple_text: 'kthxbye', expression_reguliere: /{/ }
|
||||||
])
|
])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue