diff --git a/dart/lib/src/platform/mock_platform.dart b/dart/lib/src/platform/mock_platform.dart index 9402f42a9..6e43d0a75 100644 --- a/dart/lib/src/platform/mock_platform.dart +++ b/dart/lib/src/platform/mock_platform.dart @@ -17,7 +17,8 @@ class MockPlatform extends Platform { }) { this.isWeb = isWeb ?? super.isWeb; this.operatingSystem = operatingSystem ?? super.operatingSystem; - this.operatingSystemVersion = operatingSystemVersion ?? super.operatingSystemVersion; + this.operatingSystemVersion = + operatingSystemVersion ?? super.operatingSystemVersion; } factory MockPlatform.android({bool isWeb = false}) { diff --git a/dart/test/sentry_test.dart b/dart/test/sentry_test.dart index 4bcd6a7ca..5e68e7c05 100644 --- a/dart/test/sentry_test.dart +++ b/dart/test/sentry_test.dart @@ -442,7 +442,8 @@ void main() { }); test('options.environment debug', () async { - final sentryOptions = defaultTestOptions(MockPlatformChecker(isDebug: true)); + final sentryOptions = + defaultTestOptions(MockPlatformChecker(isDebug: true)); await Sentry.init( (options) { options.dsn = fakeDsn; @@ -454,7 +455,8 @@ void main() { }); test('options.environment profile', () async { - final sentryOptions = defaultTestOptions(MockPlatformChecker(isProfile: true)); + final sentryOptions = + defaultTestOptions(MockPlatformChecker(isProfile: true)); await Sentry.init( (options) { @@ -467,7 +469,8 @@ void main() { }); test('options.environment production (defaultEnvironment)', () async { - final sentryOptions = defaultTestOptions(MockPlatformChecker(isRelease: true)); + final sentryOptions = + defaultTestOptions(MockPlatformChecker(isRelease: true)); await Sentry.init( (options) { options.dsn = fakeDsn; @@ -479,7 +482,8 @@ void main() { }); test('options.logger is set by setting the debug flag', () async { - final sentryOptions = defaultTestOptions(MockPlatformChecker(isDebug: true)); + final sentryOptions = + defaultTestOptions(MockPlatformChecker(isDebug: true)); await Sentry.init( (options) {