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

Commit

Permalink
Add test for invalid protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
aw committed Jan 6, 2016
1 parent f58f485 commit 49d538a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_nanomsg.l
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@
'(unit~assert-throws 'InternalError
'(NanomsgError . "Protocol not supported")
'(rep-bind "tcpz://127.0.0.1:5560")
"Throw an InternalError when trying to use an invalid transport" )
'(unit~assert-throws 'InternalError
'(NanomsgError . "Invalid protocol")
'(protocol-connect "REQ" "tcp://127.0.0.1:5560")
"Throw an InternalError when trying to use an invalid protocol" )

'(test-rep-bind)
Expand Down

0 comments on commit 49d538a

Please sign in to comment.