Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Bump tape from 4.13.3 to 5.0.1 (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Nov 25, 2020
1 parent 66bba89 commit 9d615c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"readfiletree": "^1.0.0",
"rimraf": "^3.0.0",
"standard": "^14.0.0",
"tape": "^4.10.0",
"tape": "^5.0.1",
"tempy": "^0.3.0"
},
"standard": {
Expand Down
12 changes: 6 additions & 6 deletions test/approximate-size-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test('setUp db', function (t) {
test('test argument-less approximateSize() throws', function (t) {
t.throws(
db.approximateSize.bind(db)
, { name: 'Error', message: 'approximateSize() requires valid `start`, `end` and `callback` arguments' }
, /^Error: approximateSize\(\) requires valid `start` and `end` arguments/
, 'no-arg approximateSize() throws'
)
t.end()
Expand All @@ -22,7 +22,7 @@ test('test argument-less approximateSize() throws', function (t) {
test('test callback-less, 1-arg, approximateSize() throws', function (t) {
t.throws(
db.approximateSize.bind(db, 'foo')
, { name: 'Error', message: 'approximateSize() requires valid `start`, `end` and `callback` arguments' }
, /^Error: approximateSize\(\) requires valid `start` and `end` arguments/
, 'callback-less, 1-arg approximateSize() throws'
)
t.end()
Expand All @@ -31,7 +31,7 @@ test('test callback-less, 1-arg, approximateSize() throws', function (t) {
test('test callback-less, 2-arg, approximateSize() throws', function (t) {
t.throws(
db.approximateSize.bind(db, 'foo', 'bar')
, { name: 'Error', message: 'approximateSize() requires a callback argument' }
, /^Error: approximateSize\(\) requires a callback argument/
, 'callback-less, 2-arg approximateSize() throws'
)
t.end()
Expand All @@ -40,7 +40,7 @@ test('test callback-less, 2-arg, approximateSize() throws', function (t) {
test('test callback-less, 3-arg, approximateSize() throws', function (t) {
t.throws(
db.approximateSize.bind(db, function () {})
, { name: 'Error', message: 'approximateSize() requires valid `start`, `end` and `callback` arguments' }
, /^Error: approximateSize\(\) requires valid `start` and `end` arguments/
, 'callback-only approximateSize() throws'
)
t.end()
Expand All @@ -49,7 +49,7 @@ test('test callback-less, 3-arg, approximateSize() throws', function (t) {
test('test callback-only approximateSize() throws', function (t) {
t.throws(
db.approximateSize.bind(db, function () {})
, { name: 'Error', message: 'approximateSize() requires valid `start`, `end` and `callback` arguments' }
, /^Error: approximateSize\(\) requires valid `start` and `end` arguments/
, 'callback-only approximateSize() throws'
)
t.end()
Expand All @@ -58,7 +58,7 @@ test('test callback-only approximateSize() throws', function (t) {
test('test 1-arg + callback approximateSize() throws', function (t) {
t.throws(
db.approximateSize.bind(db, 'foo', function () {})
, { name: 'Error', message: 'approximateSize() requires valid `start`, `end` and `callback` arguments' }
, /^Error: approximateSize\(\) requires valid `start` and `end` arguments/
, '1-arg + callback approximateSize() throws'
)
t.end()
Expand Down

0 comments on commit 9d615c9

Please sign in to comment.