tests/test-releasenotes-formatting.t
changeset 33881 6a49c74b1e8f
parent 33698 3748098d072a
child 33940 2a37459aedf2
equal deleted inserted replaced
33880:edf503e5dfd4 33881:6a49c74b1e8f
   376   Feature Additions
   376   Feature Additions
   377   =================
   377   =================
   378   
   378   
   379   * Adds a new feature.
   379   * Adds a new feature.
   380 
   380 
       
   381   $ cd ..
       
   382 
       
   383 Testing output for the --check (-c) flag
       
   384 
       
   385   $ hg init check-flag
       
   386   $ cd check-flag
       
   387 
       
   388   $ touch a
       
   389   $ hg -q commit -A -l - << EOF
       
   390   > .. asf::
       
   391   > 
       
   392   >    First paragraph under this admonition.
       
   393   > EOF
       
   394 
       
   395 Suggest similar admonition in place of the invalid one.
       
   396 
       
   397   $ hg releasenotes -r . -c
       
   398   Invalid admonition 'asf' present in changeset 4026fe9e1c20
       
   399 
       
   400   $ touch b
       
   401   $ hg -q commit -A -l - << EOF
       
   402   > .. fixes::
       
   403   > 
       
   404   >    First paragraph under this admonition.
       
   405   > EOF
       
   406 
       
   407   $ hg releasenotes -r . -c
       
   408   Invalid admonition 'fixes' present in changeset 0e7130d2705c
       
   409   (did you mean fix?)