[prev in list] [next in list] [prev in thread] [next in thread]
List: mason-cvs
Subject: [Mason-checkins] CVS: mason/dist/t 13-errors.t,1.8,1.9
From: Dave Rolsky <autarch () users ! sourceforge ! net>
Date: 2002-09-27 5:03:24
[Download RAW message or body]
Update of /cvsroot/mason/mason/dist/t
In directory usw-pr-cvs1:/tmp/cvs-serv21363
Modified Files:
13-errors.t
Log Message:
make sure mason handles a zero-length source file properly (which means it causes no errors)
Index: 13-errors.t
===================================================================
RCS file: /cvsroot/mason/mason/dist/t/13-errors.t,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- 13-errors.t 27 Sep 2002 01:43:47 -0000 1.8
+++ 13-errors.t 27 Sep 2002 05:03:21 -0000 1.9
@@ -88,5 +88,23 @@
#------------------------------------------------------------
+ $group->add_support( path => '/support/zero_size',
+ component => '',
+ );
+
+#------------------------------------------------------------
+
+ $group->add_test( name => 'read_zero_size',
+ description => 'Make sure that Mason handles a zero length source file correctly',
+ component => <<'EOF',
+zero[<& support/zero_size &>]zero
+EOF
+ expect => <<'EOF'
+zero[]zero
+EOF
+ );
+
+#------------------------------------------------------------
+
return $group;
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mason-checkins mailing list
Mason-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic