Unverified Commit cf309b61 authored by eggfly's avatar eggfly Committed by GitHub

Fix some typos (#110077)

parent 464c8a99
...@@ -121,7 +121,7 @@ class InkSparkle extends InteractiveInkFeature { ...@@ -121,7 +121,7 @@ class InkSparkle extends InteractiveInkFeature {
_clipCallback = _getClipCallback(referenceBox, containedInkWell, rectCallback), _clipCallback = _getClipCallback(referenceBox, containedInkWell, rectCallback),
super(controller: controller, referenceBox: referenceBox) { super(controller: controller, referenceBox: referenceBox) {
// InkSparkle will not be painted until the async compilation completes. // InkSparkle will not be painted until the async compilation completes.
_InkSparkleFactory.compileShaderIfNeccessary(); _InkSparkleFactory.compileShaderIfNecessary();
controller.addInkFeature(this); controller.addInkFeature(this);
// All animation values are derived from Android 12 source code. See: // All animation values are derived from Android 12 source code. See:
...@@ -270,7 +270,7 @@ class InkSparkle extends InteractiveInkFeature { ...@@ -270,7 +270,7 @@ class InkSparkle extends InteractiveInkFeature {
// InkSparkle can only paint if its shader has been compiled. // InkSparkle can only paint if its shader has been compiled.
if (_InkSparkleFactory._shaderManager == null) { if (_InkSparkleFactory._shaderManager == null) {
// Skipping paintFeature because the shader it relies on is not ready to // Skipping paintFeature because the shader it relies on is not ready to
// be used. InkSparkleFactory.compileShaderIfNeccessary must complete // be used. InkSparkleFactory.compileShaderIfNecessary must complete
// before InkSparkle can paint. // before InkSparkle can paint.
return; return;
} }
...@@ -430,7 +430,7 @@ class _InkSparkleFactory extends InteractiveInkFeatureFactory { ...@@ -430,7 +430,7 @@ class _InkSparkleFactory extends InteractiveInkFeatureFactory {
const _InkSparkleFactory.constantTurbulenceSeed() : turbulenceSeed = 1337.0; const _InkSparkleFactory.constantTurbulenceSeed() : turbulenceSeed = 1337.0;
static void compileShaderIfNeccessary() { static void compileShaderIfNecessary() {
if (!_initCalled) { if (!_initCalled) {
FragmentShaderManager.inkSparkle().then((FragmentShaderManager manager) { FragmentShaderManager.inkSparkle().then((FragmentShaderManager manager) {
_shaderManager = manager; _shaderManager = manager;
......
...@@ -139,7 +139,7 @@ class SkiaGoldClient { ...@@ -139,7 +139,7 @@ class SkiaGoldClient {
/// backend, the `init` argument initializes the current test. Used by the /// backend, the `init` argument initializes the current test. Used by the
/// [FlutterPostSubmitFileComparator]. /// [FlutterPostSubmitFileComparator].
Future<void> imgtestInit() async { Future<void> imgtestInit() async {
// This client has already been intialized // This client has already been initialized
if (_initialized) { if (_initialized) {
return; return;
} }
......
...@@ -594,7 +594,7 @@ String getDartNameForDarwinArch(DarwinArch arch) { ...@@ -594,7 +594,7 @@ String getDartNameForDarwinArch(DarwinArch arch) {
// Returns Apple's name for the specified target architecture. // Returns Apple's name for the specified target architecture.
// //
// When invoking Apple tools such as `xcodebuild` or `lipo`, the tool often // When invoking Apple tools such as `xcodebuild` or `lipo`, the tool often
// passes one or more target architectures as paramters. The names returned by // passes one or more target architectures as parameters. The names returned by
// this function reflect Apple's name for the specified architecture. // this function reflect Apple's name for the specified architecture.
// //
// For consistency with developer expectations, Flutter outputs also use these // For consistency with developer expectations, Flutter outputs also use these
......
...@@ -67,7 +67,7 @@ INTEGRATION_TEST_IOS_RUNNER(RunnerTests) ...@@ -67,7 +67,7 @@ INTEGRATION_TEST_IOS_RUNNER(RunnerTests)
XCTAssertEqualObjects([FLTIntegrationTestRunner XCTAssertEqualObjects([FLTIntegrationTestRunner
testCaseNameFromDartTestName:@"VALIDATE multi-point 🚀 UNICODE123: 😁"], @"testValidateMultiPointUnicode123"); testCaseNameFromDartTestName:@"VALIDATE multi-point 🚀 UNICODE123: 😁"], @"testValidateMultiPointUnicode123");
XCTAssertEqualObjects([FLTIntegrationTestRunner XCTAssertEqualObjects([FLTIntegrationTestRunner
testCaseNameFromDartTestName:@"!UPPERCASE:\\ lower_seperate?"], @"testUppercaseLowerSeperate"); testCaseNameFromDartTestName:@"!UPPERCASE:\\ lower_separate?"], @"testUppercaseLowerSeparate");
} }
- (void)testDuplicatedDartTests { - (void)testDuplicatedDartTests {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment