diff --git a/test/built-ins/Array/prototype/sort/comparefn-nonfunction-call-throws.js b/test/built-ins/Array/prototype/sort/comparefn-nonfunction-call-throws.js index f3377d3a4ca246faa906c9a96037a65380be94a7..53558acc296cf441e6f280e6bee9647e92cd3571 100644 --- a/test/built-ins/Array/prototype/sort/comparefn-nonfunction-call-throws.js +++ b/test/built-ins/Array/prototype/sort/comparefn-nonfunction-call-throws.js @@ -47,3 +47,7 @@ assert.throws(TypeError, function() { assert.throws(TypeError, function() { sample.sort({}); }); + +assert.throws(TypeError, function() { + sample.sort(Symbol()); +});