changeset 626:667fe7b2be62

whitespace
author Tassilo Philipp
date Fri, 28 Oct 2022 14:03:33 +0200
parents 3fc677ff16e5
children c477ddd64718
files test/common/rand-sig.lua
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/test/common/rand-sig.lua	Fri Oct 28 13:53:11 2022 +0200
+++ b/test/common/rand-sig.lua	Fri Oct 28 14:03:33 2022 +0200
@@ -123,17 +123,17 @@
     for j = 1, nargs do
       id = math.random(#types)
       sig[#sig+1] = mktype(types:sub(id,id), 0, math.random(maxaggrdepth), nil) -- random depth avoids excessive nesting
-	  -- start vararg part?
-	  if j > varargstart and #sig > 0 then
-	  	sig[#sig+1] = "."
-		varargstart = nargs
-	  end
+      -- start vararg part?
+      if j > varargstart and #sig > 0 then
+        sig[#sig+1] = "."
+        varargstart = nargs
+      end
     end
-	repeat
+    repeat
       id = math.random(#rtypes)
-	  r = mktype(rtypes:sub(id,id), 0, math.random(maxaggrdepth), nil) -- random depth avoids excessive nesting
-	until r
-	sig[#sig+1] = ')'..r
+      r = mktype(rtypes:sub(id,id), 0, math.random(maxaggrdepth), nil) -- random depth avoids excessive nesting
+    until r
+    sig[#sig+1] = ')'..r
     l = table.concat(sig)
     -- reject dupes, sigs without any aggregate (as this is about aggrs after all), and empty ones (if not wanted)
   until (reqaggrinsig ~= true or string.match(l, aggr_op_pattern) ~= nil) and uniq_sigs[l] == nil