Skip to content

Commit

Permalink
Support passing tinyint and smallint parameters to procedure calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
pekim committed Mar 18, 2012
1 parent bf6f9d5 commit 7bd402c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/integration/rpc-test.coffee
Expand Up @@ -18,6 +18,15 @@ getConfig = ->
exports.execProcNVarChar = (test) ->
testProc(test, TYPES.NVarChar, 'nvarchar(10)', 'test')

exports.execProcTinyInt = (test) ->
testProc(test, TYPES.TinyInt, 'tinyint', 3)

exports.execProcSmallInt = (test) ->
testProc(test, TYPES.SmallInt, 'smallint', 3)

exports.execProcInt = (test) ->
testProc(test, TYPES.Int, 'int', 3)

exports.execProcWithBadName = (test) ->
test.expect(3)

Expand Down

0 comments on commit 7bd402c

Please sign in to comment.