tests/indent: fix unintended trailing whitespace and space-tab

This commit is contained in:
rillig 2021-03-06 19:51:24 +00:00
parent f4551e581c
commit 0bf3fecc64
3 changed files with 8 additions and 8 deletions

View File

@ -1,8 +1,8 @@
/* $NetBSD: declarations.0,v 1.1 2019/04/04 15:27:35 kamil Exp $ */ /* $NetBSD: declarations.0,v 1.2 2021/03/06 19:51:24 rillig Exp $ */
/* $FreeBSD: head/usr.bin/indent/tests/declarations.0 334478 2018-06-01 09:41:15Z pstef $ */ /* $FreeBSD: head/usr.bin/indent/tests/declarations.0 334478 2018-06-01 09:41:15Z pstef $ */
/* See r303570 */ /* See r303570 */
typedef void (*voidptr) (int *); typedef void (*voidptr) (int *);
static const struct static const struct
{ {

View File

@ -1,4 +1,4 @@
/* $NetBSD: opt-c.0,v 1.2 2021/03/06 19:30:44 rillig Exp $ */ /* $NetBSD: opt-c.0,v 1.3 2021/03/06 19:51:24 rillig Exp $ */
/* $FreeBSD$ */ /* $FreeBSD$ */
bool bool
@ -8,5 +8,5 @@ is_prime(int n)
return n >= 2; /* special case */ return n >= 2; /* special case */
if (n % 2 == 0) if (n % 2 == 0)
return false; /* even numbers */ return false; /* even numbers */
return true; return true;
} }

View File

@ -1,9 +1,9 @@
/* $NetBSD: parens.0,v 1.1 2019/04/04 15:27:35 kamil Exp $ */ /* $NetBSD: parens.0,v 1.2 2021/03/06 19:51:24 rillig Exp $ */
/* $FreeBSD: head/usr.bin/indent/tests/parens.0 334583 2018-06-03 19:05:20Z pstef $ */ /* $FreeBSD: head/usr.bin/indent/tests/parens.0 334583 2018-06-03 19:05:20Z pstef $ */
typedef void (*xxxxxxxxxxx) (int, typedef void (*xxxxxxxxxxx) (int,
char); char);
typedef char (*xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (int *, typedef char (*xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (int *,
unsigned *, unsigned *,
char, char,
float *); float *);