File: nonce.t

package info (click to toggle)
libnet-dropbox-api-perl 1.9-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 268 kB
  • sloc: perl: 2,424; makefile: 7
file content (9 lines) | stat: -rw-r--r-- 184 bytes parent folder | download
1
2
3
4
5
6
7
8
9
use strict;
use warnings;
use Test::More;
use Net::Dropbox::API;

my $nonce = Net::Dropbox::API::nonce();
like $nonce, qr{^[a-zA-Z0-9]{16}\z}, 'expected nonce content';

done_testing;