Fix assertion 'bytes_copied > 0' in JSON.stringify()
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
This commit is contained in:
committed by
Evgeny Gavrin
parent
7ccec19c26
commit
292d99ba4e
@@ -14,6 +14,8 @@
|
||||
// limitations under the License.
|
||||
|
||||
// Checking quoting strings
|
||||
assert (JSON.stringify ("") === '""');
|
||||
|
||||
normal_string = "asdasd";
|
||||
assert (JSON.stringify (normal_string) == '"asdasd"');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user