Commit 0671b17a02b83bfcff874763bb0f0fd5265432eb
more forgiving error message check
Dominic Tarr committed on 10/29/2017, 7:55:50 AMParent: 617f906272a087ee445056d1b722241f1728275c
Files changed
test/caps.js | changed |
test/caps.js | ||
---|---|---|
@@ -67,9 +67,9 @@ | ||
67 | 67 … | if(err) throw err |
68 | 68 … | console.log(msg) |
69 | 69 … | dbB.add(msg.value, function (err) { |
70 | 70 … | t.ok(err) //should not be valid in this universe |
71 | - t.ok(/invalid signature/.test(err.message)) | |
71 … | + t.ok(/invalid/.test(err.message)) | |
72 | 72 … | console.log(err.stack) |
73 | 73 … | t.end() |
74 | 74 … | |
75 | 75 … | }) |
Built with git-ssb-web