You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by ro...@apache.org on 2002/11/13 17:52:26 UTC

cvs commit: tcl-websh/src/tests cmdurl.test

ronnie      2002/11/13 08:52:26

  Modified:    src/tests cmdurl.test
  Log:
  - added test for  bug urlformat (scheme)
  
  Revision  Changes    Path
  1.5       +12 -1     tcl-websh/src/tests/cmdurl.test
  
  Index: cmdurl.test
  ===================================================================
  RCS file: /home/cvs/tcl-websh/src/tests/cmdurl.test,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- cmdurl.test	7 Mar 2002 19:39:41 -0000	1.4
  +++ cmdurl.test	13 Nov 2002 16:52:23 -0000	1.5
  @@ -87,6 +87,17 @@
   #     set res [string range $res 0 15]
   # } {test_script_test}
   
  +test cmdurl-1.1 {web::cmdurl -urlformat scheme} {
  +
  +    # note: this test should be much later in the code, but since 
  +    # the configuration for web::cmdurlcfg is changed later, this bug 
  +    # would not be triggered ...
  +
  +    cleanParam
  +
  +    set res [web::cmdurl -urlformat scheme foo]
  +} {http:}
  +
   test cmdurl-1.2 {web::cmdurl "" k1 v1 shows no command} {
   
       cleanParam
  
  
  

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