Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .luaurc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"aliases": {
"lune": "~/.lune/.typedefs/0.10.4-horse.14.2/"
"lune": "~/.lune/.typedefs/0.10.4-horse.14.4/"
},
"globals": [
"afterAll",
Expand Down
6 changes: 3 additions & 3 deletions Source/Testable/Context.luau
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

Context

The Context object implements a write-once key-value store. It also allows for a new
Context object to inherit the entries from an existing one.
The Context object implements a key-value store for passing data between lifecycle hooks
and tests. It also allows for a new Context object to inherit the entries from an existing
one.

--]]
local Context = {}
Expand All @@ -26,7 +27,6 @@ function Context.new(parent: any?): any
end

function meta.__newindex(_obj, key, value)
assert(index[key] == nil, string.format("Cannot reassign %s in context", tostring(key)))
index[key] = value
end

Expand Down
Loading
Loading