fix sharness test_expect_code location in add-and-cat
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Sep 13, 2018 at 21:39 UTC
18781fb2e789042f71f80cf70adfea0f2b19585b
1 file changed
+2
-2
test/sharness/t0040-add-and-cat.sh
+2
-2
@@ -160,8 +160,8 @@ test_add_cat_file() {
160
ipfs add -Q --chunker rabin-36-512-1024 mountdir/hello.txt
161
'
162
163
- test_expect_code 127 "ipfs add --chunker rabin-12-512-1024 failed" '
164
- ipfs add -Q --chunker rabin-12-512-1024 mountdir/hello.txt
163
+ test_expect_success "ipfs add --chunker rabin-12-512-1024 failed" '
164
+ test_expect_code 127 ipfs add -Q --chunker rabin-12-512-1024 mountdir/hello.txt
165
'
166
167