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

DM-1076, remove need of unit tests to setVersion(0), and move tests to d... #13

Merged
merged 1 commit into from Mar 19, 2015

Conversation

laurenam
Copy link
Contributor

@laurenam laurenam commented Mar 9, 2015

...efault version.

Note that there are several setVersion(0) in the unit tests which should not be changed,
because they are actually testing whether version 0 tables work, or how they compare with
version 1 tables.

Also needed to change Schema::getNames to use the '_' separator for version > 0.

result.insert(result.end(), i->first);
} else {
result.insert(result.end(), i->first.substr(0, dot));
result.insert(result.end(), i->first.substr(0, sep));
}
}
} else {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Use brackets and spacing in if/else clause.

Also clarify the comment such that it is unambiguous whether "nan or 0" refers to the table version or the separator.

@pgee2000 pgee2000 force-pushed the u/pgee/DM-1076 branch 5 times, most recently from c423183 to 1b04f1e Compare March 19, 2015 04:11
…o default version.

Note that there are several version tests in the unit tests which should not be changed.
Also needed to change Schema::getNames to use the '_' separator for version > 0.
Also included responses to review comments
@pgee2000 pgee2000 merged commit a25b9eb into master Mar 19, 2015
@ktlim ktlim deleted the u/pgee/DM-1076 branch August 25, 2018 06:44
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