delete skipped test (#81843)
This commit is contained in:
parent
b970f40646
commit
84b2f3cadb
@ -85,46 +85,6 @@ void main() {
|
|||||||
expect(finalVersion.n, 0);
|
expect(finalVersion.n, 0);
|
||||||
expect(finalVersion.commits, null);
|
expect(finalVersion.commits, null);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('increment y', () {
|
|
||||||
final Version initialVersion = framework.flutterVersion();
|
|
||||||
|
|
||||||
final String latestCommit = framework.authorEmptyCommit();
|
|
||||||
|
|
||||||
final FakeArgResults fakeArgResults = FakeArgResults(
|
|
||||||
level: 'y',
|
|
||||||
commit: latestCommit,
|
|
||||||
// Ensure this test passes after a dev release with hotfixes
|
|
||||||
force: true,
|
|
||||||
remote: 'upstream',
|
|
||||||
);
|
|
||||||
|
|
||||||
expect(
|
|
||||||
rollDev(
|
|
||||||
usage: usageString,
|
|
||||||
argResults: fakeArgResults,
|
|
||||||
stdio: stdio,
|
|
||||||
repository: framework,
|
|
||||||
),
|
|
||||||
true,
|
|
||||||
);
|
|
||||||
expect(
|
|
||||||
stdio.stdout,
|
|
||||||
contains(RegExp(r'Publishing Flutter \d+\.\d+\.\d+-\d+\.\d+\.pre \(')),
|
|
||||||
);
|
|
||||||
|
|
||||||
final Version finalVersion = framework.flutterVersion();
|
|
||||||
expect(
|
|
||||||
initialVersion.toString() != finalVersion.toString(),
|
|
||||||
true,
|
|
||||||
reason: 'initialVersion = $initialVersion; finalVersion = $finalVersion',
|
|
||||||
);
|
|
||||||
expect(finalVersion.y, initialVersion.y + 1);
|
|
||||||
expect(finalVersion.z, 0);
|
|
||||||
expect(finalVersion.m, 0);
|
|
||||||
expect(finalVersion.n, 0);
|
|
||||||
expect(finalVersion.commits, null);
|
|
||||||
}, skip: true);
|
|
||||||
}, onPlatform: <String, dynamic>{
|
}, onPlatform: <String, dynamic>{
|
||||||
'windows': const Skip('Flutter Conductor only supported on macos/linux'),
|
'windows': const Skip('Flutter Conductor only supported on macos/linux'),
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user