Index: test/cctest/test-strings.cc |
diff --git a/test/cctest/test-strings.cc b/test/cctest/test-strings.cc |
index 904e207e2ae2718b7eb07286bf272d6a66ffaca7..b55780182bf7e5af22cd889b23ebed15e7c3dde7 100644 |
--- a/test/cctest/test-strings.cc |
+++ b/test/cctest/test-strings.cc |
@@ -77,7 +77,7 @@ class MyRandomNumberGenerator { |
} |
bool next(double threshold) { |
- ASSERT(threshold >= 0.0 && threshold <= 1.0); |
+ DCHECK(threshold >= 0.0 && threshold <= 1.0); |
if (threshold == 1.0) return true; |
if (threshold == 0.0) return false; |
uint32_t value = next() % 100000; |