aboutsummaryrefslogtreecommitdiff
path: root/gcc/hash-map-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hash-map-tests.c')
-rw-r--r--gcc/hash-map-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/hash-map-tests.c b/gcc/hash-map-tests.c
index acbfdb9..b79c782 100644
--- a/gcc/hash-map-tests.c
+++ b/gcc/hash-map-tests.c
@@ -53,7 +53,7 @@ test_map_of_strings_to_int ()
const char *eric = "half a bee";
/* A fresh hash_map should be empty. */
- ASSERT_EQ (0, m.elements ());
+ ASSERT_TRUE (m.is_empty ());
ASSERT_EQ (NULL, m.get (ostrich));
/* Populate the hash_map. */