diff options
-rw-r--r-- | 061text.mu | 13 | ||||
-rw-r--r-- | 062convert_ingredients_to_text.cc | 6 |
2 files changed, 4 insertions, 15 deletions
diff --git a/061text.mu b/061text.mu index 6961199e..7215f31c 100644 --- a/061text.mu +++ b/061text.mu @@ -380,19 +380,6 @@ scenario text-append-multiary [ ] ] -scenario text-append-multiary-heterogeneous-types [ - run [ - local-scope - n:number <- copy 34 - c:character <- copy 111/o - z:text <- append [abc ], n, c - 10:array:character/raw <- copy *z - ] - memory-should-contain [ - 10:array:character <- [abc 34o] - ] -] - scenario replace-character-in-text [ run [ local-scope diff --git a/062convert_ingredients_to_text.cc b/062convert_ingredients_to_text.cc index eb5fbd22..0a4e7a94 100644 --- a/062convert_ingredients_to_text.cc +++ b/062convert_ingredients_to_text.cc @@ -148,8 +148,10 @@ bool is_static_array(const reagent& x) { :(scenario append_other_types_to_text) def main [ local-scope - a:text <- append [abc], 10, 11 - expected:text <- new [abc1011] + n:number <- copy 11 + c:character <- copy 111/o + a:text <- append [abc], 10, n, c + expected:text <- new [abc1011o] 10:boolean/raw <- equal a, expected ] |