mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 12:49:08 -04:00
test: add more tests for throws and their messages
This commit is contained in:
parent
d6eae1e9ed
commit
127849519d
80 changed files with 2741 additions and 1501 deletions
|
@ -28,8 +28,6 @@ class RevWalk {
|
|||
/// Changes the sorting mode when iterating through the repository's contents.
|
||||
///
|
||||
/// Changing the sorting mode resets the walker.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
void sorting(Set<GitSort> sorting) {
|
||||
bindings.sorting(
|
||||
walkerPointer: _revWalkPointer,
|
||||
|
@ -79,8 +77,6 @@ class RevWalk {
|
|||
/// Simplify the history by first-parent.
|
||||
///
|
||||
/// No parents other than the first for each commit will be enqueued.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
void simplifyFirstParent() => bindings.simplifyFirstParent(_revWalkPointer);
|
||||
|
||||
/// Releases memory allocated for [RevWalk] object.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue