summaryrefslogtreecommitdiff
path: root/tests.branching/petrify.stdout
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-08-13 16:40:37 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-08-14 16:59:36 +0000
commit5374f53985d357255126a917b107ce78ece5941d (patch)
tree1ca7fe5a228c1d89a4d8e19f3885bd00966e98ad /tests.branching/petrify.stdout
parent1c44afdafb32a803e2578ace2545c2fe36373538 (diff)
downloadmorph-5374f53985d357255126a917b107ce78ece5941d.tar.gz
Fix test suite to patch YAML instead of JSON
I shouldn't be doing this in the middle of refactoring, but trying to get the new code to emit exactly the right kind of JSON is too much pain, and these tests need to be rewritten to use YAML in the near future anyway (we'll drop JSON support eventually), so I don't want to spend more time on this than necessary. The changes in this commit convert morphologies in JSON to YAML, and fix test code that modifies the morphologies to work with the YAML. There is probably more JSON lurking about.
Diffstat (limited to 'tests.branching/petrify.stdout')
-rw-r--r--tests.branching/petrify.stdout70
1 files changed, 32 insertions, 38 deletions
diff --git a/tests.branching/petrify.stdout b/tests.branching/petrify.stdout
index acc08f68..96c73f43 100644
--- a/tests.branching/petrify.stdout
+++ b/tests.branching/petrify.stdout
@@ -1,41 +1,35 @@
Petrified:
-{
- "name": "hello-stratum",
- "kind": "stratum",
- "chunks": [
- {
- "name": "hello",
- "repo": "test:hello",
- "ref": "f4d032b42c0134e67bdf19a43fa99072493667d7",
- "build-depends": [],
- "unpetrify-ref": "master"
- },
- {
- "name": "goodbye",
- "repo": "test:goodbye",
- "ref": "f4730636e429149bb923fa16be3aa9802d484b23",
- "build-depends": [],
- "unpetrify-ref": "test/petrify"
- }
- ]
-}
+build-depends: []
+chunks:
+- build-depends: []
+ morph: hello
+ name: hello
+ ref: 6c7ddb7a9c0c5bf4ee02a8de030f0892a399c6bb
+ repo: test:hello
+ unpetrify-ref: master
+- build-depends: []
+ morph: goodbye
+ name: goodbye
+ ref: d34c96a9f07c2efd1faabc3b44f77c25580a276e
+ repo: test:goodbye
+ unpetrify-ref: test/petrify
+description: ''
+kind: stratum
+name: hello-stratum
Unpetrified:
-{
- "name": "hello-stratum",
- "kind": "stratum",
- "chunks": [
- {
- "name": "hello",
- "repo": "test:hello",
- "ref": "master",
- "build-depends": []
- },
- {
- "name": "goodbye",
- "repo": "test:goodbye",
- "ref": "test/petrify",
- "build-depends": []
- }
- ]
-}
+build-depends: []
+chunks:
+- build-depends: []
+ morph: hello
+ name: hello
+ ref: master
+ repo: test:hello
+- build-depends: []
+ morph: goodbye
+ name: goodbye
+ ref: test/petrify
+ repo: test:goodbye
+description: ''
+kind: stratum
+name: hello-stratum