Revision: 8728
Author:   [email protected]
Date:     Sun Jul 24 10:59:59 2011
Log:      v8: Move DeleteEmpty test to test-list.cc

BUG=None
TEST=None

Signed-off-by: Thiago Farina <[email protected]>
http://code.google.com/p/v8/source/detail?r=8728

Modified:
 /branches/bleeding_edge/test/cctest/test-ast.cc
 /branches/bleeding_edge/test/cctest/test-list.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-ast.cc     Fri Jul 15 09:57:35 2011
+++ /branches/bleeding_edge/test/cctest/test-ast.cc     Sun Jul 24 10:59:59 2011
@@ -56,14 +56,3 @@
   CHECK_EQ(0, list->length());
   delete list;
 }
-
-
-TEST(DeleteEmpty) {
-  {
-    List<int>* list = new List<int>(0);
-    delete list;
-  }
-  {
-    List<int> list(0);
-  }
-}
=======================================
--- /branches/bleeding_edge/test/cctest/test-list.cc Tue Dec 7 03:01:02 2010 +++ /branches/bleeding_edge/test/cctest/test-list.cc Sun Jul 24 10:59:59 2011
@@ -1,4 +1,4 @@
-// Copyright 2009 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
 // Redistribution and use in source and binary forms, with or without
 // modification, are permitted provided that the following conditions are
 // met:
@@ -138,3 +138,14 @@
   list.Clear();
   CHECK_EQ(0, list.length());
 }
+
+
+TEST(DeleteEmpty) {
+  {
+    List<int>* list = new List<int>(0);
+    delete list;
+  }
+  {
+    List<int> list(0);
+  }
+}

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to