Repository navigation
#371 grade-school: remote test pollution - #382
rado-radoev wants to merge 0 commit into
Conversation
jtigger
left a comment
There was a problem hiding this comment.
Well played, @superklamer.
| // Such as UnsupportedOperationException when an unmodifiableMap is used | ||
| } | ||
|
|
||
| assertThat(school.studentsByGradeAlphabetical().get(grade), |
There was a problem hiding this comment.
Hey, thanks for the lagniappe! :)
|
|
||
| private School school; | ||
|
|
||
| @Before |
|
So, this PR includes the commit from your prior PR. The way to avoid this is to make sure that each branch you create that fuels a PR should be based on this repo's current HEAD of "master". That's the very terse version, please feel free to ask questions if I didn't explain that clearly. Could you rebase your |
|
I got what you said, but I didn't know how to rebase my branch and I googled it. |
|
Sorry for the radio silence (insert personal life events here)! Okay, here's what I see on your repo: Right now, the One way there is through a rebase. $ git checkout GradeSchoolTests
$ git rebase d3a9ce0
First, rewinding head to replay your work on top of it...
Applying: #371 grade-school: remote test pollution
$ git log --graph --oneline --all --decorate=short
* fdc7b1f (HEAD -> GradeSchoolTests) #371 grade-school: remote test pollution
| * 6203367 (exercism/master) Merge pull request #387 from vasouv/wordy-extract-setup
| |\
... (a bunch of work that has happened and merged in the last 10 days.
|/|
| * 6dd6ed6 isogram : add to track (#311)
|/
* d3a9ce0 (superklamer/master, superklamer/HEAD, master) Merge pull request #381 from superklamer/FlattenerTest
|\
| | * 298485b (superklamer/GradeSchoolTests) #371 grade-school: remote test pollution
| |/
| * 4c56f86 flatten-array: add @Ignore to tests - @Ignore added to all test cases but the first one
|/
* 99f4a1d pangram: add starter implementation and make object-based (#344)On close examination, we see Now, you've effectively discarded commits since your last push, so you'll need to force-push to update the branch. So long as you are the only person work on a branch and you're happy with the state of branch as you're pushing, this is fine. More on that topic here: https://developer.atlassian.com/blog/2015/04/force-with-lease/ In this case, you are the only contributor to this branch, so you can force push away! GitHub will detect the change across the PR (this is one of the reasons to do your work on a branch!) and it will update automagically! Is this helpful? |
298485b to
6203367
Compare
|
@superklamer did you mean to close this PR? You can leave this one open while you do your work on the branch, that will work. But if you know that and want to start over, knock yourself out. |
|
Ah! I see the other PR (i.e. #390). |
|
Yes. I submitted a new PR. I messed this one up quite badly, so it was easier to start fresh. |
Removed the instantiated School object at the beginning and replaced it with a setUp() method that initializes it for every test.