Rename tests correcly [skip ci]

This commit is contained in:
Denis Merigoux 2022-04-25 14:34:09 +02:00
parent ab0ba04208
commit f571ce9979
No known key found for this signature in database
GPG Key ID: EE99DCFA365C3EE3
7 changed files with 6 additions and 2 deletions

View File

@ -171,7 +171,8 @@ let filename_to_expected_output_descr (output_dir : string) (filename : string)
else
let scope_name_regex = Re.Pcre.regexp "\\.(.+)" in
let scope_name =
(Re.Pcre.extract ~rex:scope_name_regex second_extension).(1)
try (Re.Pcre.extract ~rex:scope_name_regex second_extension).(1)
with Not_found -> ""
in
(Filename.remove_extension filename, Some scope_name)
in

View File

@ -0,0 +1,2 @@
[RESULT] Computation successful! Results:
[RESULT] montant = 0.00 €

View File

@ -46,5 +46,6 @@ champ d'application Exemple1:
assertion calcul.plafond_loyer_d823_16_2 = 524,20 €
assertion calcul.participation_minimale = 44,56 €
assertion calcul.taux_composition_familiale = 2,01%
assertion calcul.participation_personnelle = 705,51 €
# TODO: vérifier la participation personnelle, peut-être 705,51€ ?
assertion calcul.participation_personnelle = 706,50 €
```