From 80c1c46b5346520179a811515ad28c426b3eafd8 Mon Sep 17 00:00:00 2001
From: Leonardo Balter <leonardo.balter@gmail.com>
Date: Wed, 22 Jun 2016 18:54:57 -0400
Subject: [PATCH] Update tests for Math.hypot

---
 test/built-ins/Math/hypot/Math.hypot_Zero_2.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/built-ins/Math/hypot/Math.hypot_Zero_2.js b/test/built-ins/Math/hypot/Math.hypot_Zero_2.js
index 0a33737cbe..159cf95375 100644
--- a/test/built-ins/Math/hypot/Math.hypot_Zero_2.js
+++ b/test/built-ins/Math/hypot/Math.hypot_Zero_2.js
@@ -4,7 +4,10 @@
 /*---
 es6id: 20.2.2.18
 author: Ryan Lewis
-description: Math.hypot should return 0 if called with all arguments being 0.
+description: Return 0 if all arguments being are 0 or -0.
 ---*/
 
 assert.sameValue(Math.hypot(0, 0), 0, 'Math.hypot(0, 0)');
+assert.sameValue(Math.hypot(0, -0), 0, 'Math.hypot(0, -0)');
+assert.sameValue(Math.hypot(-0, 0), 0, 'Math.hypot(-0, 0)');
+assert.sameValue(Math.hypot(-0, -0), 0, 'Math.hypot(-0, -0)');
-- 
GitLab