@@ -18,12 +18,12 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1818module com.livecode.arithmetic.tests
1919
2020public handler TestUnarySigns()
21- variable t
22- put 10 into t
23- test "unary−" when -t is -10
21+ variable tNum
22+ put 10 into tNum
23+ test "unary−" when -tNum is -10
2424
25- put -10 into t
26- test "unary+" when +t is -10
25+ put -10 into tNum
26+ test "unary+" when +tNum is -10
2727end handler
2828
2929public handler TestAdd()
@@ -176,11 +176,11 @@ public handler TestFormatString()
176176 test diagnostic "TODO -1 formatted as string (bug 14594)"
177177 broken test "format as string (int)" when (-1) formatted as string is "-1" because "bug 14546"
178178
179- variable t
180- put (-1.0) formatted as string into t
179+ variable tNum
180+ put (-1.0) formatted as string into tNum
181181 test diagnostic "TODO test full string, not just prefix"
182- test diagnostic t
183- test "format as string (real)" when t begins with "-1."
182+ test diagnostic tNum
183+ test "format as string (real)" when tNum begins with "-1."
184184end handler
185185
186186public handler TestParseString()
@@ -199,12 +199,12 @@ end handler
199199public handler TestParseStringList()
200200 test "parsed list" when ["-1", "+2.2"] parsed as list of number is [-1, 2.2]
201201
202- variable t
202+ variable tList
203203 parse ["-1", "+2.2", "x"] as list of number
204- put the result into t
204+ put the result into tList
205205
206- test "parse list (defined)" when element 1 to 2 of t is [-1, 2.2]
207- test "parse list (undefined)" when element 3 of t is not defined
206+ test "parse list (defined)" when element 1 to 2 of tList is [-1, 2.2]
207+ test "parse list (undefined)" when element 3 of tList is not defined
208208end handler
209209
210210end module
0 commit comments