Include source in Test output for debugging

This commit is contained in:
boatbomber 2022-09-30 16:50:06 -04:00
parent 471215fa7b
commit 6a5876c287

View file

@ -206,8 +206,8 @@ function API.new(app)
end
print(string.format(
"Rojo:Test(%s) called from '%s'",
table.concat(args, ", "), Rojo:_getCallerName()
"Rojo:Test(%s) called from '%s' (%s)",
table.concat(args, ", "), Rojo:_getCallerName(), Rojo:_getCallerSource()
))
end