remove unsound mode web test (#118256)

This commit is contained in:
Jonah Williams 2023-01-10 11:03:27 -08:00 committed by GitHub
parent 3cee38e80f
commit 1d2e62b764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 25 deletions

View File

@ -1236,7 +1236,6 @@ Future<void> _runWebLongRunningTests() async {
() => _runWebDebugTest('lib/framework_stack_trace.dart'),
() => _runWebDebugTest('lib/web_directory_loading.dart'),
() => _runWebDebugTest('test/test.dart'),
() => _runWebDebugTest('lib/null_assert_main.dart', enableNullSafety: true),
() => _runWebDebugTest('lib/null_safe_main.dart', enableNullSafety: true),
() => _runWebDebugTest('lib/web_define_loading.dart',
additionalArguments: <String>[

View File

@ -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 ---');
}
}