diff options
Diffstat (limited to 'test/01_io')
| -rw-r--r-- | test/01_io/io_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/01_io/io_tests.c b/test/01_io/io_tests.c index 1ef99d0..42ef9b8 100644 --- a/test/01_io/io_tests.c +++ b/test/01_io/io_tests.c | |||
| @@ -15,7 +15,7 @@ int main() { | |||
| 15 | 15 | ||
| 16 | cube = readcube(str); | 16 | cube = readcube(str); |
| 17 | 17 | ||
| 18 | if (cube.e == errorcube.e && cube.c == errorcube.c) { | 18 | if (iserror(cube)) { |
| 19 | printf("Error reading cube\n"); | 19 | printf("Error reading cube\n"); |
| 20 | } else if (!isconsistent(cube)) { | 20 | } else if (!isconsistent(cube)) { |
| 21 | printf("Cube is inconsistent\n"); | 21 | printf("Cube is inconsistent\n"); |
