tenfourfox/services/common/tests/unit/test_utils_uuid.js
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

13 lines
270 B
JavaScript

/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
function run_test() {
let uuid = CommonUtils.generateUUID();
do_check_eq(uuid.length, 36);
do_check_eq(uuid[8], "-");
run_next_test();
}