summaryrefslogtreecommitdiff
path: root/Examples/test-suite/javascript/string_simple_runme.js
blob: 39ae84e9eadccccffa6c4099efbf3c646e58b2b3 (plain)
1
2
3
4
5
6
7
8
9
10
var string_simple = require("string_simple");

// Test unicode string
var str = "olé";

var copy = string_simple.copy_string(str);

if (str !== copy) {
  throw "Error: copy is not equal: original="+str+", copy="+copy;
}