diff --git a/boa_engine/src/builtins/number/tests.rs b/boa_engine/src/builtins/number/tests.rs index d56db30e981..72a14de1595 100644 --- a/boa_engine/src/builtins/number/tests.rs +++ b/boa_engine/src/builtins/number/tests.rs @@ -484,3 +484,12 @@ fn issue_2717() { TestAction::assert_eq("(0.23046743672210102).toString(36)", "0.8aoosla2phj"), ]); } + +// https://github.com/boa-dev/boa/issues/2609 +#[test] +fn issue_2609() { + run_test_actions([ + TestAction::assert_eq("(1.25).toFixed(1)", "1.3"), + TestAction::assert_eq("(1.35).toFixed(1)", "1.4"), + ]); +}