Fix broken PATH test - it was erroring for a different reason

This commit is contained in:
Joe Rickerby
2020-06-26 12:59:26 +01:00
parent 1d9333689f
commit df69dda44a
3 changed files with 43 additions and 5 deletions
+8
View File
@@ -94,3 +94,11 @@ def test_no_vars_pass_through():
environment_dict = environment_recipe.as_dictionary(prev_environment={'CIBUILDWHEEL': 'awesome'})
assert environment_dict == {'CIBUILDWHEEL': 'awesome'}
def test_operators_inside_eval():
environment_recipe = parse_environment('SOMETHING="$(echo a ; echo b ; echo c)"')
environment_dict = environment_recipe.as_dictionary({})
assert environment_dict == {'SOMETHING': 'a\nb\nc'}