Fix assertion 'bytes_copied > 0' in JSON.stringify()

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
This commit is contained in:
Roland Takacs authored and Evgeny Gavrin committed 2015-07-15 13:48:11 +03:00
1 parent 7ccec19c26
commit 292d99ba4e
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -14,6 +14,8 @@
// limitations under the License.
// Checking quoting strings
assert (JSON.stringify ("") === '""');
normal_string = "asdasd";
assert (JSON.stringify (normal_string) == '"asdasd"');