Skip to content

Commit

Permalink
Fix error messages in orderer-chain-tests.js
Browse files Browse the repository at this point in the history
This patch matches the error message to the expression of URL module.
Thus, All test passed.

Change-Id: I6621602fdbb7fbd732cd7937b2fc6edfadcc3797
Signed-off-by: Nao Nishijima <[email protected]>
  • Loading branch information
Nao Nishijima authored and Nao Nishijima committed Jan 3, 2017
1 parent 87301d8 commit 3f67029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/orderer-chain-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ test('\n\n** TEST ** orderer via chain set/get bad address', function(t) {
function() {
chain.addOrderer(new Orderer());
},
/TypeError: Parameter 'url' must be a string/,
/TypeError: Parameter "url" must be a string, not undefined/,
'Test setting an empty orderer address'
);

Expand Down

0 comments on commit 3f67029

Please sign in to comment.