Index: tests/html/js_function_getter_trust_types_test.dart |
diff --git a/tests/html/js_function_getter_trust_types_test.dart b/tests/html/js_function_getter_trust_types_test.dart |
index cc0fec19078cc9c1a93ae27096e3d27fc5c8c716..3e94b503a46fc3092ef481f3d707ac0856098ea0 100644 |
--- a/tests/html/js_function_getter_trust_types_test.dart |
+++ b/tests/html/js_function_getter_trust_types_test.dart |
@@ -56,6 +56,13 @@ main() { |
useHtmlIndividualConfiguration(); |
group('trust types', () { |
+ test('static nonFunctionStatic', () { |
+ expect(() => foo.bar.nonFunctionStatic(), throws); |
+ expect(() => foo.bar.nonFunctionStatic(0), throws); |
+ expect(() => foo.bar.nonFunctionStatic(0,0), throws); |
+ expect(() => foo.bar.nonFunctionStatic(0,0,0,0,0,0), throws); |
+ }); |
+ |
test('typedef function', () { |
expect(() => foo.bar.add(4), throws); |
expect(() => foo.bar.add(4,5,10), throws); |