tests: shorten two header lines
This commit is contained in:
1 parent
9fe476b803
commit
2591255694
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -60,7 +60,7 @@ function Suite.note(_self: Suite, fmt: string, ...: any)
|
||||
print(" " .. string.format(fmt, ...))
|
||||
end
|
||||
|
||||
-- the no-throw pass: truncations, opts.mutations (default 8) random byte changes, opts.garbage (default 200) random buffers.
|
||||
-- the no-throw pass: truncations, opts.mutations (default 8) mutated copies, opts.garbage (default 200) random buffers.
|
||||
function Suite.fuzz(self: Suite, label: string, decode: (buffer) -> any, samples: { any }, opts: { mutations: number?, garbage: number?, seed: number?, keepHeader: number? }?): (number, number)
|
||||
local o: { mutations: number?, garbage: number?, seed: number?, keepHeader: number? } = opts or {}
|
||||
local rand = T.rng(o.seed or 1234)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
-- compat tests: the Luau semantics the library relies on, under luau and under LuaJIT (compat/luajit.lua + build.py lowering).
|
||||
-- compat tests: the Luau semantics the library relies on, under luau and LuaJIT (compat/luajit.lua, build.py lowering).
|
||||
local T = require("@tests/T")
|
||||
|
||||
local t = T.suite("compat")
|
||||
|
||||
Reference in new issue
Block a user