quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test452 (437B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 variables
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 </reply>
     12 
     13 #
     14 # Client-side
     15 <client>
     16 <server>
     17 http
     18 </server>
     19 <name>
     20 Variable using illegal function in expansion
     21 </name>
     22 <command>
     23 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what=hello --expand-data "--{{what:trim:super}}"
     24 </command>
     25 </client>
     26 
     27 #
     28 # Verify data after the test has been "shot"
     29 <verify>
     30 <errorcode>
     31 2
     32 </errorcode>
     33 </verify>
     34 </testcase>