test(sqlserver): update routine output parameter expectation

This commit is contained in:
t8y2 2026-07-31 03:16:05 +08:00
parent 27d1ad53ce
commit 42cb202a92
No known key found for this signature in database
1 changed files with 5 additions and 1 deletions

View File

@ -36,7 +36,11 @@ test("builds procedure execution templates from parameter values", () => {
routineName: "refresh_stats",
parameters,
}),
"EXEC [dbo].[refresh_stats] @p_message = 'it''s ready', @p_count = 3, @p_debug = 1;",
[
"DECLARE @dbx_output_4 text;",
"EXEC [dbo].[refresh_stats] @p_message = 'it''s ready', @p_count = 3, @p_debug = 1, @p_result = @dbx_output_4 OUTPUT;",
"SELECT @dbx_output_4 AS [p_result];",
].join("\n"),
);
});