From 524058f53a46e6214e8b7d9aed01a30461739620 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Mon, 6 Feb 2017 16:32:00 -0800 Subject: [PATCH] The tests should not be platform-specific (#7911) --- packages/flutter/test/foundation/service_extensions_test.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/flutter/test/foundation/service_extensions_test.dart b/packages/flutter/test/foundation/service_extensions_test.dart index 40c9003a3f8..ae00a79bca7 100644 --- a/packages/flutter/test/foundation/service_extensions_test.dart +++ b/packages/flutter/test/foundation/service_extensions_test.dart @@ -4,6 +4,7 @@ import 'dart:async'; import 'dart:convert'; +import 'dart:io' show Platform; import 'dart:typed_data'; import 'dart:ui' as ui; @@ -125,7 +126,7 @@ void main() { expect(result, {}); expect(console, [ 'RenderView\n' - ' debug mode enabled - linux\n' + ' debug mode enabled - ${Platform.operatingSystem}\n' ' window size: Size(800.0, 600.0) (in physical pixels)\n' ' device pixel ratio: 1.0 (physical pixels per logical pixel)\n' ' configuration: Size(800.0, 600.0) at 1.0x (in logical pixels)\n'