From 08071715e4b10239f9f1fd29d3d1ead72417cf11 Mon Sep 17 00:00:00 2001
From: Simon Richter <Simon.Richter@hogyros.de>
Date: Tue, 6 Dec 2016 18:22:29 +0100
Subject: [PATCH] Add missing operator in test (#804)

Automatic Semicolon Insertion hides an error here by transforming a long
ReturnStatement into a ReturnStatement followed by an ExpressionStatement
that is never reached. The conditions on the second line are thus never
tested.
---
 test/built-ins/Function/prototype/bind/15.3.4.5.1-4-14.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-14.js b/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-14.js
index ed401e8b60..3c844f557e 100644
--- a/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-14.js
+++ b/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-14.js
@@ -11,7 +11,7 @@ description: >
         var obj = { prop: "abc" };
 
         var func = function (x) {
-            return this === obj && x === 1 && arguments[1] === 2
+            return this === obj && x === 1 && arguments[1] === 2 &&
                 arguments[0] === 1 && arguments.length === 2 && this.prop === "abc";
         };
 
-- 
GitLab