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

Cleanup addTest() #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Cleanup addTest() #42

wants to merge 1 commit into from

Conversation

bcass
Copy link

@bcass bcass commented Jun 25, 2014

I saw the same misspelling that stephen-condon caught, but also noticed that the else part of this function was mess.

  • Fixed "this.testSuite", supposed to be "this.testSuites"
  • newStruct and tests are extra variables that aren't needed
  • Using this.tempStruct so the ComponentObject is actually set. It wasn't being set on newStruct.
  • Added a TODO tag to the comment about missing functionality.

I saw the same misspelling that stephen-condon caught, but also noticed that the else part of this function was mess.

- Fixed "this.testSuite", supposed to be "this.testSuites"
- newStruct and tests are extra variables that aren't needed
- Using this.tempStruct so the ComponentObject is actually set. It wasn't being set on newStruct.
- Added a TODO tag to the comment about missing functionality.
@marcesher
Copy link
Contributor

Thanks @bcass! Looking at this code, can we get rid of this.tempStruct entirely and go with just the newStruct variable?

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