]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/test/string/#/normalize/shim.js
28e27f595247bef565bf8e3d373728cb7a1323ce
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / test / string / # / normalize / shim.js
1 // Taken from: https://github.com/walling/unorm/blob/master/test/es6-shim.js
2
3 'use strict';
4
5 var str = 'äiti';
6
7 module.exports = function (t, a) {
8 a(t.call(str), "\u00e4iti");
9 a(t.call(str, "NFC"), "\u00e4iti");
10 a(t.call(str, "NFD"), "a\u0308iti");
11 a(t.call(str, "NFKC"), "\u00e4iti");
12 a(t.call(str, "NFKD"), "a\u0308iti");
13 };