@@ -20,140 +20,135 @@ ${S DICTIONARY} Not recommended as dict
20
20
21
21
*** Test Cases ***
22
22
Simple Typo Scalar
23
- [Documentation] FAIL Variable '${SSTRING}' not found. Did you mean:
23
+ [Documentation] FAIL Variable '\ ${SSTRING}' not found. Did you mean:
24
24
... ${INDENT}\${STRING}
25
25
Log ${SSTRING }
26
26
27
27
Simple Typo List - Only List-likes Are Recommended
28
- [Documentation] FAIL Variable '@{GIST}' not found. Did you mean:
28
+ [Documentation] FAIL Variable '\ @{GIST}' not found. Did you mean:
29
29
... ${INDENT}\@{LIST}
30
30
... ${INDENT}\@{D LIST}
31
31
Log @{GIST }
32
32
33
33
Simple Typo Dict - Only Dicts Are Recommended
34
- [Documentation] FAIL Variable '&{BICTIONARY}' not found. Did you mean:
34
+ [Documentation] FAIL Variable '\ &{BICTIONARY}' not found. Did you mean:
35
35
... ${INDENT}\&{DICTIONARY}
36
36
Log &{BICTIONARY }
37
37
38
38
All Types Are Recommended With Scalars 1
39
- [Documentation] FAIL Variable '${MIST}' not found. Did you mean:
39
+ [Documentation] FAIL Variable '\ ${MIST}' not found. Did you mean:
40
40
... ${INDENT}\${LIST}
41
41
... ${INDENT}\${S LIST}
42
42
... ${INDENT}\${D LIST}
43
43
Log ${MIST }
44
44
45
45
All Types Are Recommended With Scalars 2
46
- [Documentation] FAIL Variable '${BICTIONARY}' not found. Did you mean:
46
+ [Documentation] FAIL Variable '\ ${BICTIONARY}' not found. Did you mean:
47
47
... ${INDENT}\${DICTIONARY}
48
48
... ${INDENT}\${S DICTIONARY}
49
49
... ${INDENT}\${L DICTIONARY}
50
50
Log ${BICTIONARY }
51
51
52
52
Access Scalar In List With Typo In Variable
53
- [Documentation] FAIL Variable '@{LLIST}' not found. Did you mean:
53
+ [Documentation] FAIL Variable '\ @{LLIST}' not found. Did you mean:
54
54
... ${INDENT}\@{LIST}
55
55
... ${INDENT}\@{D LIST}
56
56
Log @{LLIST } [0 ]
57
57
58
58
Access Scalar In List With Typo In Index
59
- [Documentation] FAIL Variable '${STRENG}' not found. Did you mean:
59
+ [Documentation] FAIL Variable '\ ${STRENG}' not found. Did you mean:
60
60
... ${INDENT}\${STRING}
61
61
Log @{LIST } [${STRENG } ]
62
62
63
63
Long Garbage Variable
64
- [Documentation] FAIL Variable '${dEnOKkgGlYBHwotU2bifJ56w487jD2NJxCrcM62g}' not found.
64
+ [Documentation] FAIL Variable '\ ${dEnOKkgGlYBHwotU2bifJ56w487jD2NJxCrcM62g}' not found.
65
65
Log ${dEnOKkgGlYBHwotU2bifJ56w487jD2NJxCrcM62g }
66
66
67
67
Many Similar Variables
68
- [Documentation] FAIL Variable '${SIMILAR VAR}' not found. Did you mean:
68
+ [Documentation] FAIL Variable '\ ${SIMILAR VAR}' not found. Did you mean:
69
69
... ${INDENT}\${SIMILAR VAR 3}
70
70
... ${INDENT}\${SIMILAR VAR 2}
71
71
... ${INDENT}\${SIMILAR VAR 1}
72
72
Log ${SIMILAR VAR }
73
73
74
74
Misspelled Lower Case
75
- [Documentation] FAIL Variable '${sstring}' not found. Did you mean:
75
+ [Documentation] FAIL Variable '\ ${sstring}' not found. Did you mean:
76
76
... ${INDENT}\${STRING}
77
77
Log ${sstring }
78
78
79
79
Misspelled Underscore
80
- [Documentation] FAIL Variable '${_S_STRI_NG}' not found. Did you mean:
80
+ [Documentation] FAIL Variable '\ ${_S_STRI_NG}' not found. Did you mean:
81
81
... ${INDENT}\${STRING}
82
82
Log ${_S_STRI_NG }
83
83
84
84
Misspelled Period
85
- [Documentation] FAIL Resolving variable '${INT.EGER}' failed: Variable '${INT}' not found. Did you mean:
85
+ [Documentation] FAIL Resolving variable '\ ${INT.EGER}' failed: Variable '\ ${INT}' not found. Did you mean:
86
86
... ${INDENT}\${INDENT}
87
87
... ${INDENT}\${INTEGER}
88
88
Log ${INT.EGER }
89
89
90
90
Misspelled Camel Case
91
- [Documentation] FAIL Variable '@{OneeItem}' not found. Did you mean:
91
+ [Documentation] FAIL Variable '\ @{OneeItem}' not found. Did you mean:
92
92
... ${INDENT}\@{ONE ITEM}
93
93
Log @{OneeItem }
94
94
95
95
Misspelled Whitespace
96
- [Documentation] FAIL Variable '${S STRI NG}' not found. Did you mean:
96
+ [Documentation] FAIL Variable '\ ${S STRI NG}' not found. Did you mean:
97
97
... ${INDENT}\${STRING}
98
98
Log ${S STRI NG }
99
99
100
100
Misspelled Env Var
101
- [Documentation] FAIL Environment variable '%{THISS_ENV_VAR_IS_SET}' not found. Did you mean:
101
+ [Documentation] FAIL Environment variable '\ %{THISS_ENV_VAR_IS_SET}' not found. Did you mean:
102
102
... ${INDENT}\%{THIS_ENV_VAR_IS_SET}
103
103
Set Environment Variable THIS_ENV_VAR_IS_SET Env var value
104
104
${THISS_ENV_VAR_IS_SET } = Set Variable Not env var and thus not recommended
105
105
Log %{THISS_ENV_VAR_IS_SET }
106
106
107
107
Misspelled Env Var With Internal Variables
108
- [Documentation] FAIL Environment variable '%{YET_ANOTHER_ENV_VAR}' not found. Did you mean:
108
+ [Documentation] FAIL Environment variable '\ %{YET_ANOTHER_ENV_VAR}' not found. Did you mean:
109
109
... ${INDENT}\%{ANOTHER_ENV_VAR}
110
110
Set Environment Variable ANOTHER_ENV_VAR ANOTHER_ENV_VAR
111
111
Log %{YET_%{ANOTHER_ENV_VAR } }
112
112
113
- Misspelled List Variable With Period
114
- [Documentation] FAIL Resolving variable '${list.nnew}' failed: AttributeError: 'list' object has no attribute 'nnew'
115
- @{list.new } = Create List 1 2 3
116
- Log ${list.nnew }
117
-
118
113
Misspelled Extended Variable Parent
119
- [Documentation] FAIL Resolving variable '${OBJJ.name}' failed: Variable '${OBJJ}' not found. Did you mean:
114
+ [Documentation] FAIL Resolving variable '\ ${OBJJ.name}' failed: Variable '${OBJJ}' not found. Did you mean:
120
115
... ${INDENT}\${OBJ}
121
116
Log ${OBJJ.name }
122
117
123
118
Misspelled Extended Variable Parent As List
124
119
[Documentation] Extended variables are always searched as scalars.
125
- ... FAIL Resolving variable '@{OBJJ.name}' failed: Variable '${OBJJ}' not found. Did you mean:
120
+ ... FAIL Resolving variable '\ @{OBJJ.name}' failed: Variable '\ ${OBJJ}' not found. Did you mean:
126
121
... ${INDENT}\${OBJ}
127
122
Log @{OBJJ.name }
128
123
129
124
Misspelled Extended Variable Child
130
- [Documentation] FAIL Resolving variable '${OBJ.nmame}' failed: AttributeError: 'ExampleObject' object has no attribute 'nmame'
125
+ [Documentation] FAIL Resolving variable '\ ${OBJ.nmame}' failed: AttributeError: 'ExampleObject' object has no attribute 'nmame'
131
126
Log ${OBJ.nmame }
132
127
133
128
Existing Non ASCII Variable Name
134
- [Documentation] FAIL Variable '${Ceärsŵs}' not found. Did you mean:
129
+ [Documentation] FAIL Variable '\ ${Ceärsŵs}' not found. Did you mean:
135
130
... ${INDENT}\${Cäersŵs}
136
131
Log ${Ceärsŵs }
137
132
138
133
Non Existing Non ASCII Variable Name
139
- [Documentation] FAIL Variable '${ノಠ益ಠノ}' not found.
134
+ [Documentation] FAIL Variable '\ ${ノಠ益ಠノ}' not found.
140
135
Log ${ノಠ益ಠノ }
141
136
142
137
Invalid Binary
143
- [Documentation] FAIL Variable '${0b123}' not found.
138
+ [Documentation] FAIL Variable '\ ${0b123}' not found.
144
139
Log ${0b123 }
145
140
146
141
Invalid Multiple Whitespace
147
- [Documentation] FAIL Resolving variable '${SPACVE * 5}' failed: Variable '${SPACVE }' not found. Did you mean:
142
+ [Documentation] FAIL Resolving variable '\ ${SPACVE * 5}' failed: Variable '\ ${SPACVE }' not found. Did you mean:
148
143
... ${INDENT}\${SPACE}
149
144
Log ${SPACVE * 5 }
150
145
151
146
Non Existing Env Var
152
- [Documentation] FAIL Environment variable '%{THIS_ENV_VAR_DOES_NOT_EXIST}' not found.
147
+ [Documentation] FAIL Environment variable '\ %{THIS_ENV_VAR_DOES_NOT_EXIST}' not found.
153
148
Log %{THIS_ENV_VAR_DOES_NOT_EXIST }
154
149
155
150
Multiple Missing Variables
156
- [Documentation] FAIL Variable '${SSTRING}' not found. Did you mean:
151
+ [Documentation] FAIL Variable '\ ${SSTRING}' not found. Did you mean:
157
152
... ${INDENT}\${STRING}
158
153
Log Many ${SSTRING } @{LLIST }
159
154
@@ -162,7 +157,7 @@ Empty Variable Name
162
157
Log ${}
163
158
164
159
Environment Variable With Misspelled Internal Variables
165
- [Documentation] FAIL Variable '${nnormal_var}' not found. Did you mean:
160
+ [Documentation] FAIL Variable '\ ${nnormal_var}' not found. Did you mean:
166
161
... ${INDENT}\${normal_var}
167
162
Set Environment Variable yet_another_env_var THIS_ENV_VAR
168
163
${normal_var } = Set Variable IS_SET
0 commit comments