Change test to use VERIFY not assert
authorJonathan Wakely <jwakely@redhat.com>
Thu, 13 Oct 2016 16:37:47 +0000 (17:37 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 13 Oct 2016 16:37:47 +0000 (17:37 +0100)
* testsuite/26_numerics/random/default_random_engine.cc: Use VERIFY
instead of assert.

From-SVN: r241128

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/26_numerics/random/default_random_engine.cc

index f65514c3d720b3a1ae16e23a73acc45328f33e51..111bf5241e9e1308e6312b27c4c77fbf52219adc 100644 (file)
@@ -1,5 +1,8 @@
 2016-10-13  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/26_numerics/random/default_random_engine.cc: Use VERIFY
+       instead of assert.
+
        * include/experiumental/functional (boyer_moore_searcher)
        (__boyer_moore_map_base, __boyer_moore_array_base): Qualify containers
        with _GLIBCXX_STD_C.
index 99d5e1f8cab8b451181fa721c6239239c54eb970..e21c7ae3f85fefef761975fbe561952dacaf01d7 100644 (file)
@@ -20,7 +20,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// 26.4.5 Engines and egine adaptors with predefined parameters [rand.predef]
+// 26.4.5 Engines and engine adaptors with predefined parameters [rand.predef]
 // 26.4.5 [10]
 
 #include <random>
@@ -38,7 +38,7 @@ test01()
   std::minstd_rand0 b;
   b.discard(9999);
 
-  assert( a() == b() );
+  VERIFY( a() == b() );
 }
 
 int main()