mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
12 lines
333 B
JavaScript
12 lines
333 B
JavaScript
|
var tap = require('tap');
|
||
|
|
||
|
var buildLocales = require('../../bin/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();
|
||
|
});
|