mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02: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.