-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
135a0d0
commit 92e6914
Showing
5 changed files
with
130 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -735,16 +735,16 @@ func TestOverviewService(t *testing.T) { | |
if len(test.Releases) != 2 { | ||
t.Errorf("expected two releases, got %v", test.Releases) | ||
} | ||
if test.Releases[0].Version != 1 { | ||
if test.Releases[1].Version != 1 { | ||
t.Errorf("expected test release version to be 1, but got %d", test.Releases[0].Version) | ||
} | ||
if test.Releases[0].SourceAuthor != "example <[email protected]>" { | ||
if test.Releases[1].SourceAuthor != "example <[email protected]>" { | ||
t.Errorf("expected test source author to be \"example <[email protected]>\", but got %q", test.Releases[0].SourceAuthor) | ||
} | ||
if test.Releases[0].SourceMessage != "changed something (#678)" { | ||
if test.Releases[1].SourceMessage != "changed something (#678)" { | ||
t.Errorf("expected test source message to be \"changed something\", but got %q", test.Releases[0].SourceMessage) | ||
} | ||
if test.Releases[0].SourceCommitId != "deadbeefdeadbeefdeadbeefdeadbeefdeadbeef" { | ||
if test.Releases[1].SourceCommitId != "deadbeefdeadbeefdeadbeefdeadbeefdeadbeef" { | ||
t.Errorf("expected test source commit id to be \"deadbeef\", but got %q", test.Releases[0].SourceCommitId) | ||
} | ||
|
||
|