mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
style: clean up tests names
This commit is contained in:
parent
41fab98d17
commit
c516119397
33 changed files with 212 additions and 223 deletions
|
@ -23,7 +23,7 @@ void main() {
|
|||
});
|
||||
|
||||
group('Reset', () {
|
||||
test('successfully resets with hard', () {
|
||||
test('resets with hard', () {
|
||||
var contents = file.readAsStringSync();
|
||||
expect(contents, 'Feature edit\n');
|
||||
|
||||
|
@ -32,7 +32,7 @@ void main() {
|
|||
expect(contents, isEmpty);
|
||||
});
|
||||
|
||||
test('successfully resets with soft', () {
|
||||
test('resets with soft', () {
|
||||
var contents = file.readAsStringSync();
|
||||
expect(contents, 'Feature edit\n');
|
||||
|
||||
|
@ -47,7 +47,7 @@ void main() {
|
|||
index.free();
|
||||
});
|
||||
|
||||
test('successfully resets with mixed', () {
|
||||
test('resets with mixed', () {
|
||||
var contents = file.readAsStringSync();
|
||||
expect(contents, 'Feature edit\n');
|
||||
|
||||
|
@ -63,7 +63,7 @@ void main() {
|
|||
});
|
||||
|
||||
group('resetDefault', () {
|
||||
test('successfully updates entry in the index', () {
|
||||
test('updates entry in the index', () {
|
||||
file.writeAsStringSync('new edit');
|
||||
|
||||
final index = repo.index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue