Sha256: 56472f3d245bb2825e380e79726584a502c0622a6552d3fbf369c4ddf69a7987
Contents?: true
Size: 616 Bytes
Versions: 46
Compression:
Stored size: 616 Bytes
Contents
Shindo.tests("Formatador: basics") do tests("#display_line(Formatador)").returns(" Formatador\n") do capture_stdout do Formatador.display_line('Formatador') end end output = <<-OUTPUT one two OUTPUT output = Formatador.parse(output) tests("#display_lines(['one', 'two']").returns(output) do capture_stdout do Formatador.display_lines(['one', 'two']) end end tests("#indent { display_line('Formatador') }").returns(" Formatador\n") do capture_stdout do Formatador.indent do Formatador.display_line('Formatador') end end end end
Version data entries
46 entries across 42 versions & 14 rubygems