mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
refactor(setup): simplify setup for flutter applications (#12)
This commit is contained in:
parent
c8895524be
commit
678f6208f6
9 changed files with 119 additions and 139 deletions
19
test/libgit2_test.dart
Normal file
19
test/libgit2_test.dart
Normal file
|
@ -0,0 +1,19 @@
|
|||
import 'package:libgit2dart/libgit2dart.dart';
|
||||
import 'package:libgit2dart/src/libgit2.dart';
|
||||
import 'package:libgit2dart/src/util.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
void main() {
|
||||
group('Libgit2', () {
|
||||
test('returns up to date version of libgit2', () {
|
||||
expect(Libgit2.version, libgit2Version);
|
||||
});
|
||||
|
||||
test('returns list of options libgit2 was compiled with', () {
|
||||
expect(
|
||||
Libgit2.features,
|
||||
{GitFeature.threads, GitFeature.https, GitFeature.ssh, GitFeature.nsec},
|
||||
);
|
||||
});
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue