Skip to content

Commit

Permalink
fix: more test!!
Browse files Browse the repository at this point in the history
  • Loading branch information
ramdoys committed Dec 9, 2024
1 parent 48ca554 commit 2d8b42b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conformance/pcall.luau
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ checkresults(
end)
)
checkresults(
{ false, "pcall.luau:296: foo\npcall.luau:295\npcall.luau:293\n" },
{ false, "pcall.luau:296: foo\npcall.luau:296\npcall.luau:293\n" },
xpcall(function()
error("foo")
end, debug.traceback)
Expand All @@ -318,7 +318,7 @@ checkresults(
end)
)
checkresults(
{ "yield", "return", false, "pcall.luau:325: foo\npcall.luau:323\npcall.luau:320\n" },
{ "yield", "return", false, "pcall.luau:325: foo\npcall.luau:325\npcall.luau:320\n" },
colog(function()
return xpcall(function()
coroutine.yield()
Expand Down

0 comments on commit 2d8b42b

Please sign in to comment.