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

Report the expected error indicated by the "negative" frontmatter when it isn't thrown #47

Merged
merged 2 commits into from
Sep 24, 2015
Merged

Report the expected error indicated by the "negative" frontmatter when it isn't thrown #47

merged 2 commits into from
Sep 24, 2015

Conversation

goyakin
Copy link
Collaborator

@goyakin goyakin commented Sep 24, 2015

Currently, when the expected error indicated by the negative frontmatter isn't thrown, the test harness outputs:

not ok 788 Negative frontmatter test
  ---
    file: |
      c:/src/test262/test/annexB/test.js

However, this doesn't include any information about what the expected outcome is.

This change updates the harness to include this information and output the following instead:

not ok 788 Negative frontmatter test
  ---
    file:         |
      c:/src/test262/test/annexB/test.js
    errorName:    Error Expected
    errorMessage: 'ExpectedError' is expected, but was not thrown

bterlson added a commit that referenced this pull request Sep 24, 2015
Report the expected error indicated by the "negative" frontmatter when it isn't thrown
@bterlson bterlson merged commit 3191698 into bterlson:master Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants