diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-09 21:31:21 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-09 21:31:31 -0800 |
commit | b0450faf28ba629374adb025a3127a9a244c6380 (patch) | |
tree | 2f471db21e3d72e909c553f38eb320adb94eb123 /056recipe_header.cc | |
parent | c1720b71386b51a7e1da814f8257799d30e6013d (diff) | |
download | mu-b0450faf28ba629374adb025a3127a9a244c6380.tar.gz |
2413 - another backfilled test for 2391
This time for the support for 'new' that was added in 2393.
Diffstat (limited to '056recipe_header.cc')
-rw-r--r-- | 056recipe_header.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/056recipe_header.cc b/056recipe_header.cc index e6a83383..53670931 100644 --- a/056recipe_header.cc +++ b/056recipe_header.cc @@ -72,6 +72,14 @@ recipe bar [ ] +mem: storing 4 in location 1 +:(after "Begin debug_string(recipe x)") +out << "ingredients:\n"; +for (long long int i = 0; i < SIZE(x.ingredients); ++i) + out << " " << debug_string(x.ingredients.at(i)) << '\n'; +out << "products:\n"; +for (long long int i = 0; i < SIZE(x.products); ++i) + out << " " << debug_string(x.products.at(i)) << '\n'; + //: If a recipe never mentions any ingredients or products, assume it has a header. :(scenario recipe_without_ingredients_or_products_has_header) |