fix tests (from changing MethodSetup)

This commit is contained in:
Torsten Ruger
2018-04-03 14:31:49 +03:00
parent 17b52d4e80
commit 0a075c0f8a
3 changed files with 40 additions and 41 deletions

View File

@ -62,11 +62,8 @@ module Risc
postamble.each {all.pop}
str = all.collect{|i| i.class.name}.join(", ").gsub("Risc::","")
str = "[#{str}]"
ret = ""
str.split(",").each_slice(5).each do |line|
ret += " " + line.join(",") + ",\n"
end
ret
all = str.split(",").each_slice(5).collect { |line| " " + line.join(",")}
all.join(",\n")
end
end
end