Sha256: 9e5b95f89faf9e8ba14200c28e70c916e9e460cd234e26c4ba4b9d470d8eb0c7
Contents?: true
Size: 523 Bytes
Versions: 18
Compression:
Stored size: 523 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/workbook' require 'write_xlsx/worksheet' require 'stringio' class TestWritePhoneticPr < Test::Unit::TestCase def setup @workbook = WriteXLSX.new(StringIO.new) @worksheet = @workbook.add_worksheet('') end def test_write_phonetic_pr @worksheet.__send__('write_phonetic_pr') result = @worksheet.instance_variable_get(:@writer).string expected = '<phoneticPr fontId="0" type="noConversion"/>' assert_equal(expected, result) end end
Version data entries
18 entries across 18 versions & 1 rubygems