Skip to content

Commit 9044881

Browse files
Lord-McSweeneyLord-McSweeney
Lord-McSweeney
authored andcommitted
avm1: Remove static strings from Math tests
These tests were basically just testing numerical coercion anyway
1 parent 8e13621 commit 9044881

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/src/avm1/globals/math.rs

-3
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ mod tests {
329329
[f64::NAN] => f64::NAN,
330330
[Value::Null] => f64::NAN,
331331
[Value::Undefined] => f64::NAN,
332-
["5"] => f64::NAN,
333332
[1.0, 2.0] => 1.0,
334333
[3.0, 2.0, 1.0] => 9.0
335334
},
@@ -361,7 +360,6 @@ mod tests {
361360
[f64::NAN] => f64::NAN,
362361
[Value::Null] => f64::NAN,
363362
[Value::Undefined] => f64::NAN,
364-
["5"] => f64::NAN,
365363
[1.0, 2.0] => 2.0,
366364
[3.0, 2.0, 1.0] => 3.0
367365
},
@@ -382,7 +380,6 @@ mod tests {
382380
[f64::NAN] => f64::NAN,
383381
[Value::Null] => f64::NAN,
384382
[Value::Undefined] => f64::NAN,
385-
["5"] => f64::NAN,
386383
[1.0, 2.0] => 1.0,
387384
[3.0, 2.0, 1.0] => 2.0
388385
},

0 commit comments

Comments
 (0)