tests/test-logtoprocess.t
changeset 40401 6bd477ee7294
parent 40377 18da306e92b5
child 40402 106adc261492
--- a/tests/test-logtoprocess.t	Sat Aug 18 01:44:38 2018 +0200
+++ b/tests/test-logtoprocess.t	Mon Oct 22 15:47:30 2018 +0200
@@ -19,7 +19,7 @@
   > )
   > @command(b'foo', [])
   > def foo(ui, repo):
-  >     ui.log('foo', 'a message: %(bar)s\n', bar='spam')
+  >     ui.log('foo', 'a message: %s\n', 'spam')
   > EOF
   $ cp $HGRCPATH $HGRCPATH.bak
   $ cat >> $HGRCPATH << EOF
@@ -39,7 +39,7 @@
   > foo=(echo 'logtoprocess foo output:';
   >     echo "\$EVENT";
   >     echo "\$MSG1";
-  >     echo "\$OPT_BAR") > $TESTTMP/foo.log
+  >     echo "\$MSG2") > $TESTTMP/foo.log
   > EOF
 
 Running a command triggers both a ui.log('command') and a