@cryptotaxi247 / kubo / commits / b2a082fb1

Add tests to prevent future regressions

License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

Jakub Sztandera committed Jun 6, 2016 at 12:35 UTC b2a082fb13282276ec8ffa38d5e6616866f1da92
1 file changed +5
test/sharness/t0600-issues-and-regressions-online.sh
+5
@@ -14,6 +14,11 @@ test_expect_sucess "commands command with flag flags works via HTTP API - #2301"
14 curl "http://$API_ADDR/api/v0/commands?flags" | grep "verbose"
15 '
16
17 +test_expect_sucess "ipfs refs local over HTTP API returns NDJOSN not flat - #2803" '
18 + echo "Hello World" | ipfs add &&
19 + curl "http://$API_ADDR/api/v0/refs/local" | grep "Ref" | grep "Err"
20 +'
21 +
22 test_kill_ipfs_daemon
23
24 test_done