Sha256: 387dd19d05fbe387c20f0bbc66182dffa0833c752676beb16fc25a16edf14310

Contents?: true

Size: 554 Bytes

Versions: 7

Compression:

Stored size: 554 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'

class TestRegressionRichString06 < Test::Unit::TestCase
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_rich_string06
    @xlsx = 'rich_string06.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    red = workbook.add_format(:color => 'red')

    worksheet.write('A1', 'Foo', red)
    worksheet.write('A2', 'Bar')
    worksheet.write_rich_string('A3', 'ab', red, 'cde', 'fg')

    workbook.close
    compare_for_regression
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/regression/test_rich_string06.rb
write_xlsx-0.85.11 test/regression/test_rich_string06.rb
write_xlsx-0.85.10 test/regression/test_rich_string06.rb
write_xlsx-0.85.9 test/regression/test_rich_string06.rb
write_xlsx-0.85.8 test/regression/test_rich_string06.rb
write_xlsx-0.85.7 test/regression/test_rich_string06.rb
write_xlsx-0.85.6 test/regression/test_rich_string06.rb