Skip to content

Commit

Permalink
test style clean
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Jul 17, 2023
1 parent d66f2e5 commit aa6f79d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/02-integration/07-sdk/06-worker_events_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ local worker_events_mock = [[
-- when payload is a table
if EVENT == "table" then
PAYLOAD = {
foo = 'bar',
foo = "bar",
data = PAYLOAD,
}
end
Expand All @@ -43,7 +43,7 @@ local worker_events_mock = [[
if not ok then
ngx.status = ngx.HTTP_INTERNAL_SERVER_ERROR
ngx.say("post failed, err: " .. err)
ngx.exit(ngx.OK)
return
end
assert(wait_until(function()
Expand All @@ -56,7 +56,6 @@ local worker_events_mock = [[
ngx.status = ngx.HTTP_OK
ngx.say("ok")
ngx.exit(200)
}
}
}
Expand Down

0 comments on commit aa6f79d

Please sign in to comment.