From b2a082fb13282276ec8ffa38d5e6616866f1da92 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Mon, 6 Jun 2016 12:35:29 +0200 Subject: [PATCH] Add tests to prevent future regressions License: MIT Signed-off-by: Jakub Sztandera --- test/sharness/t0600-issues-and-regressions-online.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/sharness/t0600-issues-and-regressions-online.sh b/test/sharness/t0600-issues-and-regressions-online.sh index 89e42e856..8b1885da3 100755 --- a/test/sharness/t0600-issues-and-regressions-online.sh +++ b/test/sharness/t0600-issues-and-regressions-online.sh @@ -14,6 +14,11 @@ test_expect_sucess "commands command with flag flags works via HTTP API - #2301" curl "http://$API_ADDR/api/v0/commands?flags" | grep "verbose" ' +test_expect_sucess "ipfs refs local over HTTP API returns NDJOSN not flat - #2803" ' + echo "Hello World" | ipfs add && + curl "http://$API_ADDR/api/v0/refs/local" | grep "Ref" | grep "Err" +' + test_kill_ipfs_daemon test_done