Permalink
Browse files

add more tests, now fo the set_accessories_dir option

  • Loading branch information...
1 parent 9dd8b18 commit 155948e621707fa53f1239854ac850605f1d67ec @szabgab committed Apr 9, 2009
@@ -0,0 +1 @@
+Some warning
@@ -0,0 +1 @@
+10
@@ -0,0 +1 @@
+Foo
@@ -0,0 +1,2 @@
+Please type in your name
+Hello Foo
@@ -0,0 +1 @@
+Some warning
@@ -0,0 +1 @@
+Foo
@@ -0,0 +1,2 @@
+Please type in your name
+Hello Foo
View
@@ -0,0 +1,12 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+
+print "Please type in your name\n";
+my $name = <STDIN>;
+chomp $name;
+print "Hello $name\n";
+
+warn "Some warning\n";
+exit(10);
+
View
@@ -0,0 +1,10 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+
+print "Please type in your name\n";
+my $name = <STDIN>;
+chomp $name;
+print "Hello $name\n";
+
+warn "Some warning\n";
View
@@ -0,0 +1,10 @@
+use strict;
+use warnings;
+
+use Test::More;
+use Test::Snapshots;
+
+#Test::Snapshots::combine(1);
+Test::Snapshots::set_accessories_dir('eg/otherdir_accessories/');
+test_all_snapshots('eg/otherdir_code');
+

0 comments on commit 155948e

Please sign in to comment.