Skip to content

Conversation

@mwatson2
Copy link
Contributor

No description provided.

@wpt-pr-bot
Copy link
Collaborator

Reviewers for this pull request are: @ddorwin.

var expected = [{ key: key1String, value: 'usable'}, { key: key2String, value: 'usable'}].sort( lexicographicalkey );
assert_object_equals(result,
expected,
'keyStatuses fails');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the assert text here be made more explicit? Instead of 'keystatuses fails', could it say 'keystatuses should return usable' or something like that?

I will mark other examples of this below.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe there are text strings for asserts in utils.js that would need to be updated for consistency as well.

@jdsmith3000
Copy link
Contributor

Comments from us are complete. Assert text could be more specific in some instances and assert_object_equals appears to be in the process of being removed from testharness.

@jdsmith3000
Copy link
Contributor

LGTM

@mwatson2 mwatson2 merged commit e827374 into web-platform-tests:master Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants