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.24.0 features/unicode.feature
pdd-0.23.2 features/unicode.feature
pdd-0.23.1 features/unicode.feature
pdd-0.23.0 features/unicode.feature
pdd-0.22.0 features/unicode.feature
pdd-0.21.3 features/unicode.feature
pdd-0.21.2 features/unicode.feature
pdd-0.21.1 features/unicode.feature
pdd-0.21.0 features/unicode.feature
pdd-0.20.8 features/unicode.feature
pdd-0.20.7 features/unicode.feature
pdd-0.20.6 features/unicode.feature
pdd-0.20.5 features/unicode.feature
pdd-0.20.4 features/unicode.feature
pdd-0.20.3 features/unicode.feature
pdd-0.20.2 features/unicode.feature
pdd-0.20.1 features/unicode.feature
pdd-0.20 features/unicode.feature
pdd-0.19.4 features/unicode.feature
pdd-0.19.3 features/unicode.feature