Skip to content

Commit

Permalink
fix sharness test_expect_code location in add-and-cat
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
  • Loading branch information
Stebalien committed Sep 13, 2018
1 parent 0c56ac1 commit 18781fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sharness/t0040-add-and-cat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ test_add_cat_file() {
ipfs add -Q --chunker rabin-36-512-1024 mountdir/hello.txt
'

test_expect_code 127 "ipfs add --chunker rabin-12-512-1024 failed" '
ipfs add -Q --chunker rabin-12-512-1024 mountdir/hello.txt
test_expect_success "ipfs add --chunker rabin-12-512-1024 failed" '
test_expect_code 127 ipfs add -Q --chunker rabin-12-512-1024 mountdir/hello.txt
'


Expand Down

0 comments on commit 18781fb

Please sign in to comment.