Skip to content
Browse files

Fix error in 000-Protocol-Modbus.t test code

  • Loading branch information...
1 parent 73f9dbf commit 6f81a9a6eca62a25d8a7b461103457f1edd49237 @cosimo committed Mar 5, 2012
Showing with 6 additions and 21 deletions.
  1. +2 −2 README
  2. +2 −4 lib/Protocol/Modbus.pm
  3. +2 −15 t/000-Protocol-Modbus.t
View
4 README
@@ -1,4 +1,4 @@
-Protocol-Modbus version 0.05
+Protocol-Modbus version 0.06
============================
Object-oriented class to abstract generation and parsing of Modbus
@@ -28,7 +28,7 @@ DEPENDENCIES
COPYRIGHT AND LICENCE
-Copyright (C) 2007-2008 by Cosimo Streppone <cosimo@cpan.org>
+Copyright (C) 2007-2012 by Cosimo Streppone <cosimo@cpan.org>
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.8 or,
View
6 lib/Protocol/Modbus.pm
@@ -1,5 +1,3 @@
-# $Id: Modbus.pm,v 1.9 2007/02/16 15:02:42 cosimo Exp $
-
package Protocol::Modbus;
use 5.006001;
@@ -13,9 +11,9 @@ use Protocol::Modbus::Exception;
use Carp;
#------------------------------------------------
-# Modbus module version
+# Modbus module version
#------------------------------------------------
-our $VERSION = '0.05';
+our $VERSION = '0.06';
#------------------------------------------------
# Modbus related CONSTANTS
View
17 t/000-Protocol-Modbus.t
@@ -1,17 +1,4 @@
-# Before `make install' is performed this script should be runnable with
-# `make test'. After `make install' it should work as `perl Protocol-Modbus.t'
-
-#########################
-
-# change 'tests => 1' to 'tests => last_test_to_print';
-
-use Test;
-BEGIN { plan tests => 1 };
+use Test::More tests => 1;
use Protocol::Modbus;
-ok(1); # If we made it this far, we're ok.
-
-#########################
-
-# Insert your test code below, the Test::More module is use()ed here so read
-# its man page ( perldoc Test::More ) for help writing this test script.
+ok(1);

0 comments on commit 6f81a9a

Please sign in to comment.
Something went wrong with that request. Please try again.