Skip to content

Commit 3ee4be8

Browse files
committed
fix vararg test I broke
1 parent 6c3873a commit 3ee4be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/api-writer/glua-api.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ describe('GLua API Writer', () => {
145145
expect(api).toEqual(`---[SHARED] If the result of the first argument is false or nil, an error is thrown with the second argument as the message.\n` +
146146
`---@param expression any The expression to assert.\n` +
147147
`---@param errorMessage string The error message to throw when assertion fails. This is only type-checked if the assertion fails.\n` +
148-
`---@param returns ... Any arguments past the error message will be returned by a successful assert.\n` +
148+
`---@param ... ... Any arguments past the error message will be returned by a successful assert.\n` +
149149
`---@return any, any, ... any - If successful, returns the first argument.\n` +
150150
`---@return any, any, ... any - If successful, returns the error message. This will be nil if the second argument wasn't specified. Since the second argument is only type-checked if the assertion fails, this doesn't have to be a string.\n` +
151151
`---@return any, any, ... ... - Returns any arguments past the error message.\n` +

0 commit comments

Comments
 (0)