mirror of
https://github.com/tc39/test262.git
synced 2025-11-25 08:03:27 +01:00
Prior to this patch, the modified test would pass if no exception was produced. Use the `assert.throws` utility function to concisely express the expectation more completely.