Sha256: eadc9442f35dbbbcadee826bd61800cd7315e7d1c865664145f1570153def410

Contents?: true

Size: 505 Bytes

Versions: 5

Compression:

Stored size: 505 Bytes

Contents

---

Test the wc command (wc.yml):
  strategy: Suite
  attributes:
    strategy: Cmd
    command: "wc -c"
    exit: 0
  contents:
    - good foo:
        input: 'foo'
        output: !re \s*3\n$

    - bad foo:
        input: 'foo'
        output: !re \s*4\n$
        weight: -1

    - good foo foo:
        input: "foo\n foo"
        output: !re \s*8\n$

    - useless foo:
        input: "foo"

    - from file test:
        input: !path '<<pwd>>/../ressources/text/1.txt'
        output: !re \s*244\n$

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ttk-0.1.576 test/ttk-minimal/wc.yml
ttk-0.1.580 test/ttk-minimal/wc.yml
ttk-0.2.0 test/ttk-minimal/wc.yml
ttk-0.1.579 test/ttk-minimal/wc.yml
ttk-0.2.1 test/ttk-minimal/wc.yml