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

deque,vector: Remove unreliable validity check in unit test #20

Merged
merged 1 commit into from
Nov 19, 2019

Conversation

stotko
Copy link
Owner

@stotko stotko commented Nov 19, 2019

The unit tests of deque and vector assume that the object state becomes invalid when pushing or popping too many elements. However, there is preemptive check that tries to avoid getting into this invalid state. Remove the check in the test as the object may remain in a valid state.

@stotko stotko merged commit d8f0e62 into master Nov 19, 2019
@stotko stotko deleted the deque_vector_valid_check branch November 19, 2019 10:30
@stotko stotko added the bug label Dec 11, 2019
@stotko stotko added this to the 1.1.0 milestone Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant