local r=require(script.Parent.fmtArgs)return function(P,L)if P.n~=L.n then local M="\110\117\109\098\101\114 \111\102 \108\105\116\101\114\097\108\115 \105\110 "..(r(P)..(" \100\111\101\115 \110\111\116 \109\097\116\099\104 \110\117\109\098\101\114 \111\102 \097\114\103\115 \105\110 "..r(L)))return false,M end for M=1,P.n,1 do if P[M]~=L[M]then local M="\101\120\112\101\099\116\101\100 "..(r(P)..("\044 \103\111\116 "..r(L)))return false,M end end return true end
-- Compare two packed tables for shallow equality.
local fmtArgs = require(script.Parent.fmtArgs)

return function(e, a)
	if e.n ~= a.n then
		local msg = "number of literals in " .. fmtArgs(e) .. " does not match number of args in " .. fmtArgs(a)
		return false, msg
	end

	for i = 1, e.n do
		if e[i] ~= a[i] then
			local msg = "expected " .. fmtArgs(e) .. ", got " .. fmtArgs(a)
			return false, msg
		end
	end
	return true
end
