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

Assertions need to account for type of Symbol #100

Closed
notmessenger opened this issue Jul 7, 2015 · 7 comments
Closed

Assertions need to account for type of Symbol #100

notmessenger opened this issue Jul 7, 2015 · 7 comments
Assignees
Milestone

Comments

@notmessenger
Copy link
Collaborator

tests/unit/helpers/sl/synchronous/contains-test.js

  • "First non-optional argument must be an array, string or object"
  • "Second non-optional argument must be an array, string or object"
@notmessenger notmessenger added this to the v1.7.0 milestone Jul 21, 2015
@notmessenger notmessenger changed the title Tests should support new type of Symbol Assertions need to account for type of Symbol Jul 23, 2015
@notmessenger
Copy link
Collaborator Author

emberjs/ember.js#11673 is not going to be resolved at this time so calls to Ember.typeOf() that are compared to 'object' must also contain logic similar to && 'symbol' != typeof

@notmessenger
Copy link
Collaborator Author

@erangeles
Copy link
Contributor

@notmessenger taking this.

@erangeles
Copy link
Contributor

Update: Apparently symbol testing is on hold. adding label backlog to this.

@notmessenger
Copy link
Collaborator Author

The test-support/helpers/sl/synchronous/contains.js file can be modified for now though so that the logic is correct. You are correct that the test cannot be written yet though.

@erangeles
Copy link
Contributor

@notmessenger I believe ac08ca8 addresses it, for accounting for symbol?

@notmessenger
Copy link
Collaborator Author

@erangeles Agreed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants