Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Unified Diff: test/mjsunit/regress/regress-318.js

Issue 95001: Fix regression test by wrapping expression in a thunk^H^H^H^H^Hstring. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-318.js
===================================================================
--- test/mjsunit/regress/regress-318.js (revision 1767)
+++ test/mjsunit/regress/regress-318.js (working copy)
@@ -25,11 +25,11 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Should not raise an exception.
+// Should not crash or raise an exception.
function test(value) {
if (typeof(value) == 'boolean') value = value + '';
if (typeof(value) == 'number') value = value + '';
}
-assertDoesNotThrow(test(0));
+assertDoesNotThrow('test(0)');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698