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

Use use_ok() in basic test #6

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@paultcochrane
Contributor

paultcochrane commented Jul 4, 2015

The test 01basic.t was use-ing the Device::Gsm module and checking if
it had been loaded via an END block, which made the code a bit complex.
This test was written in 2002 and it's likely that the use_ok function
didn't exist back then. Using the new function simplifies the test
significantly.

Use use_ok() in basic test
The test `01basic.t` was `use`-ing the `Device::Gsm` module and checking if
it had been loaded via an `END` block, which made the code a bit complex.
This test was written in 2002 and it's likely that the `use_ok` function
didn't exist back then.  Using the new function simplifies the test
significantly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment