You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by da...@apache.org on 2002/01/24 18:01:51 UTC

cvs commit: tcl-rivet/tests include.test

davidw      02/01/24 09:01:50

  Modified:    tests    include.test
  Log:
  Minor updates to include.* stuff.
  
  Revision  Changes    Path
  1.2       +2 -5      tcl-rivet/tests/include.test
  
  Index: include.test
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/tests/include.test,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- include.test	24 Jan 2002 16:05:07 -0000	1.1
  +++ include.test	24 Jan 2002 17:01:50 -0000	1.2
  @@ -1,13 +1,10 @@
  -# $Id: include.test,v 1.1 2002/01/24 16:05:07 davidw Exp $
  +# $Id: include.test,v 1.2 2002/01/24 17:01:50 davidw Exp $
   
   set testfilename1 include.rvt
   
   ::tcltest::test include-1.1 {Include command} {
       set page [ ::http::geturl "${urlbase}$testfilename1" ]
  -    set fl [open /tmp/foobar w]
  -    set foo [::http::data $page]
  -    puts -nonewline $fl $foo
  -    set foo
  +    ::http::data $page
   } {<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   <html>
     <head>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org