Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer warn instead of diag when notice unexpected external access #12

Merged
merged 2 commits into from
Jan 21, 2016

Conversation

aereal
Copy link
Contributor

@aereal aereal commented Jan 21, 2016

While using warn we can use Test::Warnings to make tests failure and immediately fix them.

@astj
Copy link
Member

astj commented Jan 15, 2016

Seems good!

The message `Unexpected external access` is just a warning.

If we used CORE::warn, we assume that no warnings are found
with a module such as Test::Warnings
@aereal
Copy link
Contributor Author

aereal commented Jan 21, 2016

@astj Please review this 🙏

@astj
Copy link
Member

astj commented Jan 21, 2016

@aereal Thanx!!! LGTM 😄

@aereal
Copy link
Contributor Author

aereal commented Jan 21, 2016

💨

aereal added a commit that referenced this pull request Jan 21, 2016
Prefer warn instead of diag when notice unexpected external access
@aereal aereal merged commit 853953d into hatena:master Jan 21, 2016
astj added a commit that referenced this pull request Jan 23, 2016
Changelog diff is:

diff --git a/Changes b/Changes
index 0a84138..4ad2ad5 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,9 @@ Revision history for Perl extension Test-WWW-Stub

 {{$NEXT}}

+0.05 2016-01-23T14:13:37Z
+    - Prefer warn instead of diag when notice unexpected external access. (#12, thanks to aereal)
+
 0.04 2015-12-16T09:32:08Z
     - Fix a bug that #unstub doesn't work with older LWP::Protocol::PSGI. (#11, thanks to aereal)
@astj
Copy link
Member

astj commented Jan 23, 2016

astj added a commit that referenced this pull request Mar 13, 2016
Changelog diff is:

diff --git a/Changes b/Changes
index 4ad2ad5..2f3acde 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,9 @@ Revision history for Perl extension Test-WWW-Stub

 {{$NEXT}}

+0.06 2016-03-13T16:00:45Z
+    - Declare dependency on Guard. (#14, thanks to eserte)
+
 0.05 2016-01-23T14:13:37Z
     - Prefer warn instead of diag when notice unexpected external access. (#12, thanks to aereal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants