Sha256: 27f30346222f12c8e26db14a311b696e507b4a708fd0a38c9668c2c5628e6954

Contents?: true

Size: 725 Bytes

Versions: 27

Compression:

Stored size: 725 Bytes

Contents

Feature: Unicode
  As a source code writer I want to be able to
  work with Unicode files

  Scenario: Unicode on ASCII locale
    Given It is Unix
    Given I have a "test.txt" file with content:
    """
    # @todo #44 привет, друзья
    """
    When I run bash with
    """
    LANG=C ruby -Ipdd/lib pdd/bin/pdd test.txt -v -f=/dev/null -e=pdd/**/*
    """
    Then Exit code is zero

  Scenario: Skip file with broken Unicode
    Given It is Unix
    Given I have a "test.txt" file with content:
    """
    \xBF test
    # @todo #44 \xFF hey
    \xFF test again
    """
    When I run bin/pdd with "--exclude=test.txt -v -f=/dev/null"
    Then Stdout contains "Excluding test.txt"
    Then Exit code is zero

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
pdd-0.19.2 features/unicode.feature
pdd-0.19.1 features/unicode.feature
pdd-0.19 features/unicode.feature
pdd-0.18.3 features/unicode.feature
pdd-0.18.2 features/unicode.feature
pdd-0.18.1 features/unicode.feature
pdd-0.18 features/unicode.feature