Home | History | Annotate | Line # | Download | only in unit-tests
vardebug.exp revision 1.1
      1 Global:RELEVANT = yes
      2 Global:VAR = added
      3 Global:VAR = overwritten
      4 Global:delete VAR
      5 Global:delete VAR (not found)
      6 Applying[] :U to ""
      7 Result[] of :U is ""
      8 Var_Set("${:U}", "empty name", ...) name expands to empty string - ignored
      9 Applying[] :U to ""
     10 Result[] of :U is ""
     11 Var_Append("${:U}", "empty name", ...) name expands to empty string - ignored
     12 Global:FROM_CMDLINE = overwritten ignored!
     13 Global:VAR = 1
     14 Global:VAR = 1 2
     15 Global:VAR = 1 2 3
     16 Applying[VAR] :M to "1 2 3"
     17 Pattern[VAR] for [1 2 3] is [[2]]
     18 ModifyWords: split "1 2 3" into 3 words
     19 VarMatch [1] [[2]]
     20 VarMatch [2] [[2]]
     21 VarMatch [3] [[2]]
     22 Result[VAR] of :M is "2"
     23 Applying[VAR] :N to "1 2 3"
     24 Pattern[VAR] for [1 2 3] is [[2]]
     25 ModifyWords: split "1 2 3" into 3 words
     26 Result[VAR] of :N is "1 3"
     27 Applying[VAR] :S to "1 2 3"
     28 Modifier part: "2"
     29 Modifier part: "two"
     30 ModifyWords: split "1 2 3" into 3 words
     31 Result[VAR] of :S is "1 two 3"
     32 Applying[VAR] :Q to "1 2 3"
     33 QuoteMeta: [1\ 2\ 3]
     34 Result[VAR] of :Q is "1\ 2\ 3"
     35 Applying[VAR] :t to "1 2 3"
     36 Result[VAR] of :t is "1 2 3"
     37 Applying[VAR] :t to "1 2 3"
     38 Result[VAR] of :t is "1 2 3"
     39 Applying[VAR] :Q to "1 2 3"
     40 QuoteMeta: [1\ 2\ 3]
     41 Result[VAR] of :Q is "1\ 2\ 3"
     42 Applying[] :U to ""
     43 Result[] of :U is "VAR"
     44 Global:delete VAR
     45 Global:RELEVANT = no
     46 exit status 0
     47