浏览代码

Add test for uppercase UUIDs

Jake 10 年之前
父节点
当前提交
eff49afa65
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      test/test.js

+ 4 - 0
test/test.js

@@ -55,6 +55,10 @@ describe("Crafatar", function() {
       assert.strictEqual(helpers.uuid_valid("0098cb60fa8e427cb299793cbd302c9a"), true);
       done();
     });
+    it("should be a valid uuid", function(done) {
+      assert.strictEqual(helpers.uuid_valid("1DCEF164FF0A47F2B9A691385C774EE7"), true);
+      done();
+    });
     it("should be a valid uuid", function(done) {
       assert.strictEqual(helpers.uuid_valid("0098cb60-fa8e-427c-b299-793cbd302c9a"), true);
       done();