X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e81e4e8d1c49737e12e3ca5dba36fd1453f447bb..7489d3af05a4394e9621e14a196a9f6c4f788a26:/libtests/test.h diff --git a/libtests/test.h b/libtests/test.h index cada395..983633b 100644 --- a/libtests/test.h +++ b/libtests/test.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2005, 2007, 2008 Richard Kettlewell + * Copyright (C) 2005, 2007, 2008, 2010 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -95,7 +95,7 @@ extern int skipped; const char *got = GOT; \ const char *want = WANT; \ \ - if(want == 0) { \ + if(got == 0) { \ fprintf(stderr, "%s:%d: %s returned 0\n", \ __FILE__, __LINE__, #GOT); \ count_error(); \