Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
fd0da75c
Unverified
Commit
fd0da75c
authored
Aug 02, 2022
by
Phil Quitslund
Committed by
GitHub
Aug 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix noop toString() diagnostics (#108836)
parent
ae8225f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
migrate_manifest.dart
packages/flutter_tools/lib/src/migrate/migrate_manifest.dart
+1
-1
build_ios_config_only_test.dart
...ls/test/integration.shard/build_ios_config_only_test.dart
+2
-2
No files found.
packages/flutter_tools/lib/src/migrate/migrate_manifest.dart
View file @
fd0da75c
...
...
@@ -171,7 +171,7 @@ class MigrateManifest {
deletedFileManifestContents
.
write
(
' -
$localPath
\n
'
);
}
final
String
migrateManifestContents
=
'merged_files:
\n
${mergedFileManifestContents
.toString()}
conflict_files:
\n
${conflictFilesManifestContents.toString()}
added_files:
\n
${newFileManifestContents.toString()}
deleted_files:
\n
${deletedFileManifestContents.toString()}
'
;
final
String
migrateManifestContents
=
'merged_files:
\n
${mergedFileManifestContents
}
conflict_files:
\n
${conflictFilesManifestContents}
added_files:
\n
${newFileManifestContents}
deleted_files:
\n
$deletedFileManifestContents
'
;
final
File
migrateManifest
=
getManifestFileFromDirectory
(
migrateRootDir
);
migrateManifest
.
createSync
(
recursive:
true
);
migrateManifest
.
writeAsStringSync
(
migrateManifestContents
,
flush:
true
);
...
...
packages/flutter_tools/test/integration.shard/build_ios_config_only_test.dart
View file @
fd0da75c
...
...
@@ -40,7 +40,7 @@ void main() {
printOnFailure
(
'Output of flutter build ios:'
);
final
String
firstRunStdout
=
firstRunResult
.
stdout
.
toString
();
printOnFailure
(
'First run stdout:
$firstRunStdout
'
);
printOnFailure
(
'First run stderr:
${firstRunResult.stderr
.toString()
}
'
);
printOnFailure
(
'First run stderr:
${firstRunResult.stderr}
'
);
expect
(
firstRunResult
.
exitCode
,
0
);
expect
(
firstRunStdout
,
contains
(
'Running pod install'
));
...
...
@@ -72,7 +72,7 @@ void main() {
final
ProcessResult
secondRunResult
=
await
processManager
.
run
(
buildCommand
,
workingDirectory:
workingDirectory
);
final
String
secondRunStdout
=
secondRunResult
.
stdout
.
toString
();
printOnFailure
(
'Second run stdout:
$secondRunStdout
'
);
printOnFailure
(
'Second run stderr:
${secondRunResult.stderr
.toString()
}
'
);
printOnFailure
(
'Second run stderr:
${secondRunResult.stderr}
'
);
expect
(
secondRunResult
.
exitCode
,
0
);
// Do not run "pod install" when nothing changes.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment