tests/basic.t @ f6b4283ab1f9

Rehash tasks after editing.
author sealion <sealion@charadeyouare.org>
date Wed, 28 Sep 2011 02:03:32 +0400
parents 6af374f52295
children 831123b0359f
Setup:

  $ alias xt="python $TESTDIR/../t.py --task-dir `pwd` --list test"

Adding tasks:

  $ xt
  $ xt Sample one.
  $ xt
  3 - Sample one.
  $ xt Sample two.
  $ xt
  3 - Sample one.
  7 - Sample two.
  $ xt 'this | that'
  $ xt
  3 - Sample one.
  4 - this | that
  7 - Sample two.

Finishing tasks:

  $ xt -f 3
  $ xt
  4 - this | that
  7 - Sample two.
  $ xt -f 7
  $ xt
  4 - this | that
  $ xt -f 4
  $ xt