tests/editing.t @ a882490073a1 semver v1.0.0

Add some Cram tests.
author Steve Losh <steve@dwaiter.com>
date Sun, 03 Oct 2010 18:43:47 -0400
parents (none)
children 6af374f52295
Setup:

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

Replace a task's text (preserving the ID):

  $ xt Sample.
  $ xt
  a - Sample.
  $ xt -e a New sample.
  $ xt
  a - New sample.

Sed-style substitution:

  $ xt -e a 's/New/Testing/'
  $ xt
  a - Testing sample.