[BZ#786264] ingredients test failure
Submitted by Jeremy Bicha
Link to original bug (#786264)
Description
gnome-recipes 1.6.2 meson 0.41.2 Ubuntu 17.10 Alpha
Build log excerpt
[0/1] Running all tests. 1/5 ingredients FAIL 2.27 s 2/5 number OK 0.24 s 3/5 unit OK 0.23 s 4/5 ids OK 0.23 s 5/5 strv OK 0.03 s
OK: 4 FAIL: 1 SKIP: 0 TIMEOUT: 0
The output from the failed tests:
1/5 ingredients FAIL 2.27 s
--- command --- G_TEST_SRCDIR='/<>/tests' G_TEST_BUILDDIR='/<>/obj-x86_64-linux-gnu/tests' G_DEBUG='gc-friendly' MALLOC_CHECK_='2' MALLOC_PERTURB_='113' /<>/obj-x86_64-linux-gnu/tests/ingredients --- stdout --- /ingredients/parse/valid-3.in: OK /ingredients/parse/valid-2.in: --- stderr --- ** org.gnome.Recipes:ERROR:../tests/ingredients-test.c:103:test_parse: assertion failed (string->str == expected): ("AMOUNT 0.500000\nUNIT lb\nNAME Butter\n\nAMOUNT 2.500000\nUNIT (null)\nNAME Egg\n\nAMOUNT 15.000000\nUNIT (null)\nNAME Salt\n\n" == "AMOUNT 0.500000\nUNIT lb\nNAME Butter\n\nAMOUNT 2.500000\nUNIT \nNAME Egg\n\nAMOUNT 15.000000\nUNIT \nNAME Salt\n\n")