From 21b7e4a7bd1efc0e0b9b749fea587309781fdc1c Mon Sep 17 00:00:00 2001
From: Leo Balter <leonardo.balter@gmail.com>
Date: Mon, 30 Oct 2017 11:22:13 -0400
Subject: [PATCH] Add missing parameter and reorder actual, expected assertion
 parameters (#1326)

---
 test/built-ins/BigInt/prototype/Symbol.toStringTag.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/built-ins/BigInt/prototype/Symbol.toStringTag.js b/test/built-ins/BigInt/prototype/Symbol.toStringTag.js
index 8cf93d2c50..0fb1328669 100644
--- a/test/built-ins/BigInt/prototype/Symbol.toStringTag.js
+++ b/test/built-ins/BigInt/prototype/Symbol.toStringTag.js
@@ -21,17 +21,17 @@ verifyProperty(BigInt.prototype, Symbol.toStringTag, {
   configurable: true
 });
 
-assert.sameValue("[object BigInt]", Object.prototype.toString.call(3n));
-assert.sameValue("[object BigInt]", Object.prototype.toString.call(Object(3n)));
+assert.sameValue(Object.prototype.toString.call(3n), "[object BigInt]");
+assert.sameValue(Object.prototype.toString.call(Object(3n)), "[object BigInt]");
 
 // Verify that Object.prototype.toString does not have special casing for BigInt
 // as it does for most other primitive types
-Object.defineProperty(BigInt.prototype, {
+Object.defineProperty(BigInt.prototype, Symbol.toStringTag, {
   value: "FooBar",
   writable: false,
   enumerable: false,
   configurable: true
 });
 
-assert.sameValue("[object FooBar]", Object.prototype.toString.call(3n));
-assert.sameValue("[object FooBar]", Object.prototype.toString.call(Object(3n)));
+assert.sameValue(Object.prototype.toString.call(3n), "[object FooBar]");
+assert.sameValue(Object.prototype.toString.call(Object(3n)), "[object FooBar]");
-- 
GitLab