mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
fc834b8817
Thanks @thisandagain for the tip!
11 lines
329 B
JavaScript
11 lines
329 B
JavaScript
var tap = require('tap');
|
|
|
|
var buildLocales = require('../../lib/locale-compare');
|
|
|
|
tap.test('buildLocalesGetMD5', function (t) {
|
|
var testString1 = 'are there bears here?';
|
|
var testString2 = 'are\nthere\tbears here?';
|
|
|
|
t.equal(buildLocales.getMD5(testString1), buildLocales.getMD5(testString2));
|
|
t.end();
|
|
});
|