diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-06-08 11:53:09 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-06-09 13:31:30 +0000 |
commit | 21e00e2a8acdeb5a67fb3d1eded28a4a0bcbd94a (patch) | |
tree | f6571971e668ba8189d90bf9c433066248b6dca4 /tests.branching/add-then-edit.script | |
parent | 901e79ec9020bc810230625ba824321379f24b85 (diff) | |
download | morph-21e00e2a8acdeb5a67fb3d1eded28a4a0bcbd94a.tar.gz |
Fix tests for new `morph edit` syntax
Diffstat (limited to 'tests.branching/add-then-edit.script')
-rwxr-xr-x | tests.branching/add-then-edit.script | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests.branching/add-then-edit.script b/tests.branching/add-then-edit.script index 2dd62254..be3315d9 100755 --- a/tests.branching/add-then-edit.script +++ b/tests.branching/add-then-edit.script @@ -29,9 +29,6 @@ cd "me/add-then-edit" # add a chunk cd test/morphs -## Sub-optimally, to alter the stratum, you have to `morph edit` it first -"$SRCDIR/scripts/test-morph" edit hello-system hello-stratum - python -c 'import yaml with open("hello-stratum.morph", "r") as f: stratum = yaml.load(f) @@ -45,7 +42,7 @@ with open("hello-stratum.morph", "w") as f: yaml.dump(stratum, f) ' -"$SRCDIR/scripts/test-morph" edit hello-system hello-stratum goodbye +"$SRCDIR/scripts/test-morph" edit goodbye # check whether the stratum still contains the goodbye chunk grep -qFe goodbye hello-stratum.morph |