Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin/xlint/lint1 tests/lint: fix comments in test f...



details:   https://anonhg.NetBSD.org/src/rev/0e51ec1ae976
branches:  trunk
changeset: 952698:0e51ec1ae976
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Feb 15 07:18:20 2021 +0000

description:
tests/lint: fix comments in test for message 124

diffstat:

 tests/usr.bin/xlint/lint1/msg_124.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r a5547c75119e -r 0e51ec1ae976 tests/usr.bin/xlint/lint1/msg_124.c
--- a/tests/usr.bin/xlint/lint1/msg_124.c       Mon Feb 15 07:06:27 2021 +0000
+++ b/tests/usr.bin/xlint/lint1/msg_124.c       Mon Feb 15 07:18:20 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg_124.c,v 1.6 2021/01/24 11:21:58 rillig Exp $       */
+/*     $NetBSD: msg_124.c,v 1.7 2021/02/15 07:18:20 rillig Exp $       */
 # 3 "msg_124.c"
 
 // Test for message: illegal pointer combination, op %s [124]
@@ -35,11 +35,11 @@
        ok(vp == (void *)0);
        ok(cp == (void *)0);
        ok(ip == (void *)0);
-       ok(fp == (void *)0);    /* wrong 124 before 2021-01-25 */
+       ok(fp == (void *)0);    /* wrong 274 before 2021-01-25 */
        ok((void *)0 == vp);
        ok((void *)0 == cp);
        ok((void *)0 == ip);
-       ok((void *)0 == fp);    /* wrong 124 before 2021-01-25 */
+       ok((void *)0 == fp);    /* wrong 274 before 2021-01-25 */
        ok(vp == 0);
        ok(cp == 0);
        ok(ip == 0);



Home | Main Index | Thread Index | Old Index