Skip to content

Conversation

brad-anderson
Copy link
Contributor

Wasn't in a position to run tests locally so waiting for the autotester is essential.

try {
auto reSlice = cy[2..1];
assert(0);
} catch { /* It's supposed to throw.*/ }
Copy link
Member

Choose a reason for hiding this comment

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

Use std.exception.assertThrown!RangeError.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I was wondering if there were a better way to do that.

@brad-anderson
Copy link
Contributor Author

Does the autotester notice when a push -f overwrites a source branch and retests?

@jmdavis
Copy link
Member

jmdavis commented Feb 28, 2013

Does the autotester notice when a push -f overwrites a source branch and retests?

I believe so, yes.

jmdavis added a commit that referenced this pull request Feb 28, 2013
Issue 9612: Cycle opSlice should throw when finish > start
@jmdavis jmdavis merged commit bc40310 into dlang:master Feb 28, 2013
@brad-anderson brad-anderson deleted the patch-1 branch February 28, 2013 04:24
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.

2 participants