Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: improve test-assert #10916

Closed
wants to merge 1 commit into from
Closed

Commits on Jan 20, 2017

  1. test: improve test-assert

    Add RegExp to check assert throws the expected AssertionErrors.
    
    For the one with multiple flags is ok to hardcode the flags since the
    spec indicates the ordering will always be `gim`:
    
    http://www.ecma-international.org/ecma-262/6.0/#sec-get-regexp.prototype.flags
    richnologies committed Jan 20, 2017
    Configuration menu
    Copy the full SHA
    a51ddca View commit details
    Browse the repository at this point in the history