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
|
@ -14,8 +14,6 @@ class Odb {
|
|||
///
|
||||
/// Before the ODB can be used for read/writing, a custom database backend must be
|
||||
/// manually added.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
Odb.create() {
|
||||
libgit2.git_libgit2_init();
|
||||
|
||||
|
@ -36,8 +34,6 @@ class Odb {
|
|||
/// have been exhausted.
|
||||
///
|
||||
/// Writing is disabled on alternate backends.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
void addDiskAlternate(String path) {
|
||||
bindings.addDiskAlternate(
|
||||
odbPointer: _odbPointer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue