Skip to content
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.

Better named colour check - Fixes #24 #41

Merged
merged 1 commit into from
Jan 9, 2016

Conversation

zoetrope69
Copy link
Contributor

Fixes #24

'black' was coming back falsey and being read as invalid.

Now this checks for the property rather than the value being truthy.

I'm not familiar with Mocha but maybe we could loop through the colour list and check they all work in the tests?

'black' was coming back falsey and coming back as invalid
@deadprogram
Copy link
Contributor

Thanks for the PR. Seems like a reasonable check, merging.

deadprogram added a commit that referenced this pull request Jan 9, 2016
@deadprogram deadprogram merged commit 573df54 into sphero-inc:master Jan 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants