mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
test: skip windows test
This commit is contained in:
parent
5f1831506b
commit
dfefc55866
2 changed files with 15 additions and 12 deletions
|
@ -558,8 +558,7 @@ class Repository extends Equatable {
|
|||
/// [resetType] is one of the [GitReset] flags.
|
||||
///
|
||||
/// [strategy], [checkoutDirectory] and [pathspec] are optional checkout
|
||||
/// options to be used for a HARD reset. The [strategy] will be overridden
|
||||
/// (based on [resetType]).
|
||||
/// options to be used for a HARD reset.
|
||||
///
|
||||
/// [strategy] is optional combination of [GitCheckout] flags.
|
||||
///
|
||||
|
|
|
@ -63,7 +63,10 @@ void main() {
|
|||
expect(file.readAsStringSync(), isEmpty);
|
||||
});
|
||||
|
||||
test('throws when trying to reset and error occurs', () {
|
||||
test(
|
||||
'throws when trying to reset and error occurs',
|
||||
testOn: '!windows',
|
||||
() {
|
||||
expect(
|
||||
() => repo.reset(
|
||||
oid: repo[sha],
|
||||
|
@ -72,7 +75,8 @@ void main() {
|
|||
),
|
||||
throwsA(isA<LibGit2Error>()),
|
||||
);
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
group('resetDefault', () {
|
||||
test('updates entry in the index', () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue