Commit 888b279
Make sure GetTree() in mock reproduces behavior on GitLab (#825)
* Make sure GetTree() in mock reproduces behavior on GitLab
* Update test in RepositoryMockTests.cs to match behavior
* Add comment in code to explain behavior
* Update NGitLab.Mock/Repository.cs
Co-authored-by: Louis Zanella <louis.zanella@gmail.com>
* Changes related to comment
---------
Co-authored-by: Louis Zanella <louis.zanella@gmail.com>1 parent bd9ef23 commit 888b279
File tree
2 files changed
+7
-4
lines changed- NGitLab.Mock.Tests/UsingVerify
- NGitLab.Mock
2 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | | - | |
| 27 | + | |
30 | 28 | | |
31 | 29 | | |
32 | | - | |
| 30 | + | |
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
555 | 560 | | |
556 | 561 | | |
557 | 562 | | |
| |||
0 commit comments