mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
remove unsound mode web test (#118256)
This commit is contained in:
parent
3cee38e80f
commit
1d2e62b764
@ -1236,7 +1236,6 @@ Future<void> _runWebLongRunningTests() async {
|
|||||||
() => _runWebDebugTest('lib/framework_stack_trace.dart'),
|
() => _runWebDebugTest('lib/framework_stack_trace.dart'),
|
||||||
() => _runWebDebugTest('lib/web_directory_loading.dart'),
|
() => _runWebDebugTest('lib/web_directory_loading.dart'),
|
||||||
() => _runWebDebugTest('test/test.dart'),
|
() => _runWebDebugTest('test/test.dart'),
|
||||||
() => _runWebDebugTest('lib/null_assert_main.dart', enableNullSafety: true),
|
|
||||||
() => _runWebDebugTest('lib/null_safe_main.dart', enableNullSafety: true),
|
() => _runWebDebugTest('lib/null_safe_main.dart', enableNullSafety: true),
|
||||||
() => _runWebDebugTest('lib/web_define_loading.dart',
|
() => _runWebDebugTest('lib/web_define_loading.dart',
|
||||||
additionalArguments: <String>[
|
additionalArguments: <String>[
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
// Copyright 2014 The Flutter Authors. All rights reserved.
|
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
|
||||||
// found in the LICENSE file.
|
|
||||||
|
|
||||||
// ignore_for_file: enable_null_safety
|
|
||||||
|
|
||||||
// @dart = 2.8
|
|
||||||
|
|
||||||
import 'null_enabled_api.dart';
|
|
||||||
|
|
||||||
void main() {
|
|
||||||
dynamic error;
|
|
||||||
try {
|
|
||||||
// Validate that a generated null assertion is thrown.
|
|
||||||
methodThatAcceptsNonNull(null);
|
|
||||||
} catch (err) {
|
|
||||||
error = err;
|
|
||||||
}
|
|
||||||
if (error is AssertionError) {
|
|
||||||
print('--- TEST SUCCEEDED ---');
|
|
||||||
} else {
|
|
||||||
print('--- TEST FAILED ---');
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user