Skip to content

Commit

Permalink
add TODO test for openfoodfacts#3882
Browse files Browse the repository at this point in the history
  • Loading branch information
svensven committed Sep 23, 2020
1 parent 06b2527 commit 1b1b6e7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions t/ingredients_parsing_todo.t
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,29 @@ my @tests = (
]
],

# interpret animal attribute in brackets as part of the ingredient name, instead of a separate ingredient.
# présure (animale) -> présure animale
[
"Issue #3882 - 'présure (animale) -> présure animale' - https://github.com/openfoodfacts/openfoodfacts-server/issues/3882",
{
lc => "fr",
ingredients_text => "ferments lactiques, présure (animale), sucre",
},
[
{
'id' => 'en:lactic-ferments',
'text' => 'ferments lactiques',
},
{
'id' => 'en:animal-based-rennet',
'text' => 'présure animale',
},
{
'id' => 'en:sugar',
'text' => 'sucre',
},
]
],



Expand Down

0 comments on commit 1b1b6e7

Please sign in to comment.