[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] test-timespec: fix typo in previous change
From: |
Paul Eggert |
Subject: |
[PATCH] test-timespec: fix typo in previous change |
Date: |
Thu, 5 Nov 2015 18:37:07 -0800 |
* tests/test-timespec.c (main): Fix typo that reduced test quality.
---
ChangeLog | 3 +++
tests/test-timespec.c | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 82534cb..b0385b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-11-05 Paul Eggert <address@hidden>
+ test-timespec: fix typo in previous change
+ * tests/test-timespec.c (main): Fix typo that reduced test quality.
+
timespec-sub: fix overflow bug; add tests
* lib/timespec-add.c (timespec_add):
* lib/timespec-sub.c (timespec_sub):
diff --git a/tests/test-timespec.c b/tests/test-timespec.c
index 839906c..20bbd0b 100644
--- a/tests/test-timespec.c
+++ b/tests/test-timespec.c
@@ -144,7 +144,7 @@ main (void)
for (k = 0; k < ntests; k++)
{
- struct timespec c = test[j];
+ struct timespec c = test[k];
if (valid (c))
{
struct timespec sumbc = timespec_add (b, c);
--
2.1.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] test-timespec: fix typo in previous change,
Paul Eggert <=