Changes

Jump to navigation Jump to search
511 bytes added ,  10:35, 23 March 2020
Line 51: Line 51:  
   #    $expected->[3]{text} = 'tomaten'
 
   #    $expected->[3]{text} = 'tomaten'
 
This should be read as: replace ''gehakte tomaten'' with ''tomaten'' in the test
 
This should be read as: replace ''gehakte tomaten'' with ''tomaten'' in the test
 +
 +
To test the ingredient ''gemalen kokos'', we get:
 +
#  Failed test at ../t/ingredients_processing.t line 143.
 +
#    Structures begin differing at:
 +
#          $got->[3]{processing} = Does not exist
 +
#    $expected->[3]{processing} = 'en:ground'
 +
The test failed here as ''gemalen kokos'' is already in the ingredients taxonomy. We need to test with an ingredient that is not in the ingredients taxonomy. "gemalen XYZ" should not be in the ingredients taxonomy, but "XYZ" should be. (otherwise we won't match)
3,390

edits

Navigation menu