Opal-Estate-Pro/node_modules/es5-ext/test/string/#/case-insensitive-compare.js
2019-09-13 11:27:52 +07:00

8 lines
181 B
JavaScript

"use strict";
module.exports = function (t, a) {
a(t.call("AA", "aa"), 0, "Same");
a.ok(t.call("Amber", "zebra") < 0, "Less");
a.ok(t.call("Zebra", "amber") > 0, "Greater");
};