summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/escope/node_modules/es6-weak-map/node_modules/es5-ext/test/string/#/capitalize.js
blob: fa11ff8eeff85690563c935c216d0d023b8ff787 (plain)
1
2
3
4
5
6
7
8
9
'use strict';

module.exports = function (t, a) {
	a(t.call('raz'), 'Raz', "Word");
	a(t.call('BLA'), 'BLA', "Uppercase");
	a(t.call(''), '', "Empty");
	a(t.call('a'), 'A', "One letter");
	a(t.call('this is a test'), 'This is a test', "Sentence");
};