Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 2bf82ae

Browse files
committed
minor: fix various spontaneous failures
A number of failures showed up in CI without any change to the codebase. This seems like it may have been related to changes in dependencies. While I couldn't isolate the root cause, I did find three minor changes that seem to get tests passing again.
1 parent db2ad37 commit 2bf82ae

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

‎lib/MongoDB/Role/_TopologyMonitoring.pm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ our $VERSION = 'v2.1.2';
2424

2525
use Moo::Role;
2626
use namespace::clean;
27-
use boolean;
2827

2928
# These are used to cache data
3029
has old_topology_desc => ( is => 'rw' );

‎lib/MongoDB/Role/_WriteResult.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ has [qw/write_errors write_concern_errors/] => (
3939

4040
with 'MongoDB::Role::_DatabaseErrorThrower';
4141

42-
sub acknowledged() { 1 }; # override to 0 for MongoDB::UnacknowledgedResult
42+
sub acknowledged { 1 }; # override to 0 for MongoDB::UnacknowledgedResult
4343

4444
# inline assert_no_write_error and assert_no_write_concern rather
4545
# than having to make to additional method calls

‎t/crud_spec.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use strict;
1616
use warnings;
1717
use Test::More 0.96;
1818
use JSON::MaybeXS;
19-
use Test::Deep;
19+
use Test::Deep':v1';
2020
use Path::Tiny;
2121
use version;
2222
use Scalar::Util 'blessed';

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /