From 5d69e30929a5cd50d38c518d0bdb4cd20872699f Mon Sep 17 00:00:00 2001
From: "K. Adam White" <kadamwhite@users.noreply.github.com>
Date: Thu, 19 Jan 2017 13:37:57 -0500
Subject: [PATCH] Add Number.prototype.toFixed return value test

Adds a test to ensure that toFixed returns a string value
---
 .../built-ins/Number/prototype/toFixed/return-type.js | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 test/built-ins/Number/prototype/toFixed/return-type.js

diff --git a/test/built-ins/Number/prototype/toFixed/return-type.js b/test/built-ins/Number/prototype/toFixed/return-type.js
new file mode 100644
index 0000000000..d89755ce50
--- /dev/null
+++ b/test/built-ins/Number/prototype/toFixed/return-type.js
@@ -0,0 +1,11 @@
+// Copyright (C) 2017 K. Adam White. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es6id: 20.1.3.3
+esid: sec-number.prototype.tofixed
+description: >
+  Number.prototype.toFixed returns a string value
+---*/
+
+assert.sameValue(typeof (123.456).toFixed(), "string");
-- 
GitLab