This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update flutter_tools versioning tests to use Flaux URLs (#61)
- Loading branch information
1 parent
1126288
commit f48706e
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ void main() { | |
}); | ||
|
||
testUsingContext('prints nothing when Flutter installation looks fresh', () async { | ||
const String flutterUpstreamUrl = 'https://github.com/flutter/flutter.git'; | ||
const String flutterUpstreamUrl = 'https://github.com/flutter/flaux.git'; | ||
processManager.addCommands(<FakeCommand>[ | ||
const FakeCommand( | ||
command: <String>['git', '-c', 'log.showSignature=false', 'log', '-n', '1', '--pretty=format:%H'], | ||
|
@@ -134,7 +134,7 @@ void main() { | |
}); | ||
|
||
testUsingContext('does not crash when git log outputs malformed output', () async { | ||
const String flutterUpstreamUrl = 'https://github.com/flutter/flutter.git'; | ||
const String flutterUpstreamUrl = 'https://github.com/flutter/flaux.git'; | ||
|
||
final String malformedGitLogOutput = '${getChannelUpToDateVersion()}[0x7FF9E2A75000] ANOMALY: meaningless REX prefix used'; | ||
processManager.addCommands(<FakeCommand>[ | ||
|
@@ -366,10 +366,10 @@ void main() { | |
} | ||
|
||
group('VersionUpstreamValidator', () { | ||
const String flutterStandardUrlDotGit = 'https://github.com/flutter/flutter.git'; | ||
const String flutterStandardUrlDotGit = 'https://github.com/flutter/flaux.git'; | ||
const String flutterNonStandardUrlDotGit = 'https://githubmirror.com/flutter/flutter.git'; | ||
const String flutterStandardSshUrlDotGit = '[email protected]:flutter/flutter.git'; | ||
const String flutterFullSshUrlDotGit = 'ssh://[email protected]/flutter/flutter.git'; | ||
const String flutterStandardSshUrlDotGit = '[email protected]:flutter/flaux.git'; | ||
const String flutterFullSshUrlDotGit = 'ssh://[email protected]/flutter/flaux.git'; | ||
|
||
VersionCheckError? runUpstreamValidator({ | ||
String? versionUpstreamUrl, | ||
|
@@ -889,7 +889,7 @@ void main() { | |
stdout: 'master', | ||
), | ||
const FakeCommand( | ||
command: <String>['git', 'fetch', 'https://github.com/flutter/flutter.git', '--tags', '-f'], | ||
command: <String>['git', 'fetch', 'https://github.com/flutter/flaux.git', '--tags', '-f'], | ||
), | ||
const FakeCommand( | ||
command: <String>['git', 'tag', '--points-at', 'HEAD'], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters