diff options
author | Perl Tidy <perltidy@bugzilla.org> | 2018-12-05 21:38:52 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-12-05 23:49:08 +0100 |
commit | 8ec8da0491ad89604700b3e29a227966f6d84ba1 (patch) | |
tree | 9d270f173330ca19700e0ba9f2ee931300646de1 /t/mock-db.t | |
parent | a7bb5a65b71644d9efce5fed783ed545b9336548 (diff) | |
download | bugzilla-8ec8da0491ad89604700b3e29a227966f6d84ba1.tar.gz bugzilla-8ec8da0491ad89604700b3e29a227966f6d84ba1.tar.xz |
no bug - reformat all the code using the new perltidy rules
Diffstat (limited to 't/mock-db.t')
-rw-r--r-- | t/mock-db.t | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/t/mock-db.t b/t/mock-db.t index 54ceef100..e031a749b 100644 --- a/t/mock-db.t +++ b/t/mock-db.t @@ -16,30 +16,30 @@ use ok 'Bugzilla::Test::MockDB'; use ok 'Bugzilla::Test::Util', qw(create_user); try { - Bugzilla::Test::MockDB->import(); - pass('made fake in-memory db'); + Bugzilla::Test::MockDB->import(); + pass('made fake in-memory db'); } catch { - diag $_; - fail('made fake in-memory db'); + diag $_; + fail('made fake in-memory db'); }; try { - create_user('bob@pants.gov', '*'); - ok( Bugzilla::User->new({name => 'bob@pants.gov'})->id, 'create a user' ); + create_user('bob@pants.gov', '*'); + ok(Bugzilla::User->new({name => 'bob@pants.gov'})->id, 'create a user'); } catch { - fail('create a user'); + fail('create a user'); }; try { - my $rob = create_user('rob@pants.gov', '*'); - Bugzilla::User->check({id => $rob->id}); - pass('rob@pants.gov checks out'); + my $rob = create_user('rob@pants.gov', '*'); + Bugzilla::User->check({id => $rob->id}); + pass('rob@pants.gov checks out'); } catch { - diag $_; - fail('rob@pants.gov fails'); + diag $_; + fail('rob@pants.gov fails'); }; done_testing; |