summaryrefslogtreecommitdiff
path: root/test-suite/standalone/test-num2integral.c
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-01-08 16:08:45 +0100
committerLudovic Courtès <ludo@gnu.org>2012-01-08 16:16:21 +0100
commit20c360b298dd9d29d0b1a6301f43ff6da4968908 (patch)
tree3a179d414135d01b6922446141a8c64c90f8eabe /test-suite/standalone/test-num2integral.c
parentbe96155b508d220efe6f419d7743cf39744ee47c (diff)
downloadguile-20c360b298dd9d29d0b1a6301f43ff6da4968908.tar.gz
Fix typo in `test-num2integral.c'.
* test-suite/standalone/test-num2integral.c (out_of_range_handler): Use `scm_is_eq' when comparing KEY.
Diffstat (limited to 'test-suite/standalone/test-num2integral.c')
-rw-r--r--test-suite/standalone/test-num2integral.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test-suite/standalone/test-num2integral.c b/test-suite/standalone/test-num2integral.c
index 6a44fb75a..0246a3303 100644
--- a/test-suite/standalone/test-num2integral.c
+++ b/test-suite/standalone/test-num2integral.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1999,2000,2001,2003,2004, 2006, 2008, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001, 2003, 2004, 2006, 2008, 2010,
+ * 2012 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -33,7 +34,7 @@ SCM call_num2ulong_long_body (void *data);
SCM
out_of_range_handler (void *data, SCM key, SCM args)
{
- assert (scm_equal_p (key, scm_from_locale_symbol ("out-of-range")));
+ assert (scm_is_eq (key, scm_from_locale_symbol ("out-of-range")));
return SCM_BOOL_T;
}