From 17d98d99fbf2562b82081cf5d2fc92788f3efb54 Mon Sep 17 00:00:00 2001 From: DerelictDrone Date: Tue, 20 Aug 2024 19:03:26 -0500 Subject: [PATCH] Fix trailing comma in print for results --- lua/wire/zvm/zvm_tests.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/wire/zvm/zvm_tests.lua b/lua/wire/zvm/zvm_tests.lua index aac42a8..f810722 100644 --- a/lua/wire/zvm/zvm_tests.lua +++ b/lua/wire/zvm/zvm_tests.lua @@ -102,9 +102,7 @@ function ZVMTestSuite.FinishTest(fail) if failed ~= 1 then errormod = "s" end - if ZVMTestSuite.Warnings > 0 then - warnstring = ZVMTestSuite.Warnings .. " Compiler Warnings" - end + warnstring = ZVMTestSuite.Warnings .. " Compiler Warnings" -- Sum the benchmarking statistics per each test if ZVMTestSuite.BenchmarkConvar:GetBool() then local sumKeys = {"PrecompileStringSize","TotalJitBytecodeSize","PrecompileSteps","Precompiles","FinalCompiledCount","ExecutionTime"}