From: Matt S Trout Date: Thu, 14 Jan 2016 20:58:31 +0000 (+0000) Subject: rename Equals to Eq X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2e93f6623193e1e48f8fec388be3587fafb128e3;p=scpubgit%2FDX.git rename Equals to Eq --- diff --git a/lib/DX/Predicate/Equals.pm b/lib/DX/Predicate/Eq.pm similarity index 77% rename from lib/DX/Predicate/Equals.pm rename to lib/DX/Predicate/Eq.pm index 7aecff7..f6d6082 100644 --- a/lib/DX/Predicate/Equals.pm +++ b/lib/DX/Predicate/Eq.pm @@ -1,4 +1,4 @@ -package DX::Predicate::Equals; +package DX::Predicate::Eq; use DX::Class; diff --git a/t/01basics.t b/t/01basics.t index 4bdfda1..cb6958d 100644 --- a/t/01basics.t +++ b/t/01basics.t @@ -1,4 +1,4 @@ -use strictures 1; +use strictures 2; use Test::More; use Module::Runtime qw(use_module); use DX::Utils qw(:builders deparse); @@ -9,7 +9,7 @@ my $ab = use_module('DX::ActionBuilder::UnsetValue')->new( my $scope = use_module('DX::Scope')->new( predicates => { - 'eq' => use_module('DX::Predicate::Equals')->new, + 'eq' => use_module('DX::Predicate::Eq')->new, member_at => use_module('DX::Predicate::MemberAt')->new, is_dict => use_module('DX::Predicate::IsDict')->new, },