summaryrefslogtreecommitdiff
path: root/Examples/test-suite/javascript/string_simple_runme.js
blob: dbdd4136dcadadd0d16ff2d9d41ff2c7b9a4e782 (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;
}