File: multibyte.feature

package info (click to toggle)
ruby-table-print 1.5.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 296 kB
  • sloc: ruby: 1,823; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# coding: utf-8

@ruby19
Feature: Fix the column width for multibyte character
  Scenario: A simple array of hashes
    Given a variable named data with
      |title             | author   |
      |これは日本語です。| 山田太郎 |
      |English           | Bob      |
    When I configure multibyte with true
    When I table_print data
    Then the output should contain
    """
    TITLE              | AUTHOR  
    -------------------|---------
    これは日本語です。 | 山田太郎
    English            | Bob     
    """