From 3d2ed182309935b6369a768a4a748f6da5cbd082 Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Tue, 25 Aug 2015 10:57:45 +0100 Subject: [PATCH] More representative example of feeding JSON into lfstest-testutils --- test/test-fetch.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/test-fetch.sh b/test/test-fetch.sh index 163bf5d9..896373c7 100755 --- a/test/test-fetch.sh +++ b/test/test-fetch.sh @@ -143,7 +143,11 @@ begin_test "fetch-recent" clone_repo "$reponame" "$reponame" # just testing for now - echo '[{"CommitDate":"2015-08-14T17:04:36.691604466+01:00","Files":[{"Filename":"file2.txt","Size":22,"Data":null}],"ParentBranches":null,"NewBranch":"","Tags":null,"CommitterName":"","CommitterEmail":""}]' | lfstest-testutils addcommits + echo '[{ + "CommitDate":"2015-08-14T17:04:36+01:00", + "Files":[ + {"Filename":"file2.txt","Size":22}] + }]' | lfstest-testutils addcommits )