Explorar o código

Add test for uppercase UUIDs

Jake %!s(int64=10) %!d(string=hai) anos
pai
achega
eff49afa65
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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();