Sha256: 8ce65fe92cfd93eb90b731c5b54900187acf6eaa7b8b56f082777f8dd4a06dd9

Contents?: true

Size: 725 Bytes

Versions: 6

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

6 entries across 6 versions & 1 rubygems

Version Path
pdd-0.17.9 features/unicode.feature
pdd-0.17.8 features/unicode.feature
pdd-0.17.7 features/unicode.feature
pdd-0.17.6 features/unicode.feature
pdd-0.17.5 features/unicode.feature
pdd-0.17.4 features/unicode.feature