]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
doc: typos in test file.
authorReuben Thomas <rrt@sc3d.org>
Tue, 30 Apr 2024 01:21:50 +0000 (18:21 -0700)
committerKarl Berry <karl@freefriends.org>
Tue, 30 Apr 2024 01:21:50 +0000 (18:21 -0700)
From https://bugs.gnu.org/70557#23.

* t/vala-vapi.sh: typos.

t/vala-vapi.sh

index dfdb0a8e56d5cdc88d01c76dc364a3bb6c67cc3c..9983710195ba8d6fc3d8274f887024d8ea7580f5 100644 (file)
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
-# Test and that vapi files are correctly handled by Vala support.
+# Test that vapi files are correctly handled by Vala support.
 
 required='pkg-config valac cc GNUmake'
 . test-init.sh
@@ -42,7 +42,7 @@ public class Zardoz {
 }
 END
 
-# Use printf, not echo, to avoid '\n' being considered and escape
+# Use printf, not echo, to avoid '\n' being considered an escape
 # sequence and printed as a newline in 'foo.h'.
 printf '%s\n' '#define BARBAR "Zardoz!\n"' > foo.h
 
@@ -78,7 +78,7 @@ cross_compiling || $MAKE test1 || exit 1
 
 # Simple check on remake rules.
 $sleep
-# Use printf, not echo, to avoid '\n' being considered and escape
+# Use printf, not echo, to avoid '\n' being considered an escape
 # sequence and printed as a newline in 'foo.h'.
 printf '%s\n' '#define BAZBAZ "Quux!\n"' > foo.h
 sed 's/BARBAR/BAZBAZ/' zardoz.vala > t && mv -f t zardoz.vala || exit 99