Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added test file for GUID goodie

  • Loading branch information...
commit e88db421c7f22c88cc8b40666df5c7de24db6e44 1 parent 19562b3
@nospampleasemam nospampleasemam authored
Showing with 22 additions and 0 deletions.
  1. +22 −0 t/GUID.t
View
22 t/GUID.t
@@ -0,0 +1,22 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+use Test::More;
+use DDG::Test::Goodie;
+
+zci answer_type => 'guid';
+zci is_cached => 0;
+
+ddg_goodie_test(
+ [qw(
+ DDG::Goodie::GUID
+ )],
+ 'guid' => test_zci(qr/ \(randomly generated\)$/),
+ 'uuid' => test_zci(qr/ \(randomly generated\)$/),
+ 'globally unique identifier' => test_zci(qr/ \(randomly generated\)$/),
+ 'rfc 4122' => test_zci(qr/ \(randomly generated\)$/),
+);
+
+done_testing;
+
Please sign in to comment.
Something went wrong with that request. Please try again.