Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

PR example with a failing test #1

Open
wants to merge 1 commit into
base: production
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/shared/runTests.luau
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ local Workspace = game:GetService("Workspace")
return function()
assert(1 + 1 == 2, "1+1 != 2")
assert(Workspace.Gravity > 0, "Gravity is negative")
assert(Workspace:FindFirstChild("1x1x1x1"), "1x1x1x1 is missing!") --This test will fail, as there is no such Instance
end
Loading