Unverified Commit a76eb719 authored by Ahmed Ashour's avatar Ahmed Ashour Committed by GitHub

Fix typos in test names (#85126)

parent b30c721e
...@@ -64,12 +64,12 @@ void main() { ...@@ -64,12 +64,12 @@ void main() {
); );
}); });
testWithoutContext('iOS AOT targets has analyicsName', () { testWithoutContext('iOS AOT targets has analyticsName', () {
expect(const AotAssemblyRelease().analyticsName, 'ios_aot'); expect(const AotAssemblyRelease().analyticsName, 'ios_aot');
expect(const AotAssemblyProfile().analyticsName, 'ios_aot'); expect(const AotAssemblyProfile().analyticsName, 'ios_aot');
}); });
testUsingContext('DebugUniveralFramework creates simulator binary', () async { testUsingContext('DebugUniversalFramework creates simulator binary', () async {
environment.defines[kIosArchs] = 'x86_64'; environment.defines[kIosArchs] = 'x86_64';
environment.defines[kSdkRoot] = 'path/to/iPhoneSimulator.sdk'; environment.defines[kSdkRoot] = 'path/to/iPhoneSimulator.sdk';
processManager.addCommand( processManager.addCommand(
...@@ -113,7 +113,7 @@ void main() { ...@@ -113,7 +113,7 @@ void main() {
Platform: () => macPlatform, Platform: () => macPlatform,
}); });
testUsingContext('DebugUniveralFramework creates expected binary with arm64 only arch', () async { testUsingContext('DebugUniversalFramework creates expected binary with arm64 only arch', () async {
environment.defines[kIosArchs] = 'arm64'; environment.defines[kIosArchs] = 'arm64';
environment.defines[kSdkRoot] = 'path/to/iPhoneOS.sdk'; environment.defines[kSdkRoot] = 'path/to/iPhoneOS.sdk';
processManager.addCommand( processManager.addCommand(
......
...@@ -144,7 +144,7 @@ void main() { ...@@ -144,7 +144,7 @@ void main() {
ProcessManager: () => FakeProcessManager.any(), ProcessManager: () => FakeProcessManager.any(),
}); });
testWithoutContext("DebugBundleLinuxAssets's name depends on target platforms", () async { testWithoutContext("DebugBundleLinuxAssets' name depends on target platforms", () async {
expect(const DebugBundleLinuxAssets(TargetPlatform.linux_x64).name, 'debug_bundle_linux-x64_assets'); expect(const DebugBundleLinuxAssets(TargetPlatform.linux_x64).name, 'debug_bundle_linux-x64_assets');
expect(const DebugBundleLinuxAssets(TargetPlatform.linux_arm64).name, 'debug_bundle_linux-arm64_assets'); expect(const DebugBundleLinuxAssets(TargetPlatform.linux_arm64).name, 'debug_bundle_linux-arm64_assets');
}); });
...@@ -183,7 +183,7 @@ void main() { ...@@ -183,7 +183,7 @@ void main() {
ProcessManager: () => FakeProcessManager.any(), ProcessManager: () => FakeProcessManager.any(),
}); });
testWithoutContext("ProfileBundleLinuxAssets's name depends on target platforms", () async { testWithoutContext("ProfileBundleLinuxAssets' name depends on target platforms", () async {
expect(const ProfileBundleLinuxAssets(TargetPlatform.linux_x64).name, 'profile_bundle_linux-x64_assets'); expect(const ProfileBundleLinuxAssets(TargetPlatform.linux_x64).name, 'profile_bundle_linux-x64_assets');
expect(const ProfileBundleLinuxAssets(TargetPlatform.linux_arm64).name, 'profile_bundle_linux-arm64_assets'); expect(const ProfileBundleLinuxAssets(TargetPlatform.linux_arm64).name, 'profile_bundle_linux-arm64_assets');
}); });
...@@ -222,7 +222,7 @@ void main() { ...@@ -222,7 +222,7 @@ void main() {
ProcessManager: () => FakeProcessManager.any(), ProcessManager: () => FakeProcessManager.any(),
}); });
testWithoutContext("ReleaseBundleLinuxAssets's name depends on target platforms", () async { testWithoutContext("ReleaseBundleLinuxAssets' name depends on target platforms", () async {
expect(const ReleaseBundleLinuxAssets(TargetPlatform.linux_x64).name, 'release_bundle_linux-x64_assets'); expect(const ReleaseBundleLinuxAssets(TargetPlatform.linux_x64).name, 'release_bundle_linux-x64_assets');
expect(const ReleaseBundleLinuxAssets(TargetPlatform.linux_arm64).name, 'release_bundle_linux-arm64_assets'); expect(const ReleaseBundleLinuxAssets(TargetPlatform.linux_arm64).name, 'release_bundle_linux-arm64_assets');
}); });
......
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