Re: problems generating Clojure scripts
Philip Aston <[email protected]> Sat, 24 Mar 2012 19:22:51 +0000
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
On 23/03/12 18:10, Bill Smith wrote: > I found a couple of problems with how the TCP proxy generates Clojure > scripts. First, it uses the wrong syntax for method calls. For > example, it does this: > > (. valueFromHiddenInput httpUtilities "an Xpath") > > when it should do this: > > (.valueFromHiddenInput httpUtilities "an Xpath") > > Second, it neglects to end a comment with a linefeed. For example, it > does this: > > (set-token :token_cx (.valueFromHiddenInput httpUtilities > "//g:token[@token-id=$token-id]/g:name") > ;"012652707207066138651:zudjtuwe28q") > > when it should do this: > > (set-token :token_cx (.valueFromHiddenInput httpUtilities > "//g:token[@token-id=$token-id]/g:name")) > ;"012652707207066138651:zudjtuwe28q" > > or alternatively this: > > (set-token :token_cx (.valueFromHiddenInput httpUtilities > "//g:token[@token-id=$token-id]/g:name") > ;"012652707207066138651:zudjtuwe28q" > ) > > Shall I submit a fix? Please do. See http://grinder.sourceforge.net/development/contributing.html#How+to+give+back. Thanks, - Phil ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure