mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-18 03:27:02 -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();
|
||
|
});
|