Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
58499c29
Unverified
Commit
58499c29
authored
May 11, 2021
by
Alexandre Ardhuin
Committed by
GitHub
May 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lints (#82246)
parent
83a5ba3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
framework_stack_trace.dart
dev/integration_tests/web/lib/framework_stack_trace.dart
+2
-3
stack_trace.dart
dev/integration_tests/web/lib/stack_trace.dart
+4
-5
No files found.
dev/integration_tests/web/lib/framework_stack_trace.dart
View file @
58499c29
...
...
@@ -4,10 +4,9 @@
import
'dart:html'
as
html
;
import
'package:meta/dart2js.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:meta/dart2js.dart'
;
// Tests that the framework prints stack traces in all build modes.
//
...
...
@@ -66,7 +65,7 @@ class ThrowingWidget extends StatefulWidget {
const
ThrowingWidget
({
Key
?
key
})
:
super
(
key:
key
);
@override
_ThrowingWidgetState
createState
()
=>
_ThrowingWidgetState
();
State
<
ThrowingWidget
>
createState
()
=>
_ThrowingWidgetState
();
}
class
_ThrowingWidgetState
extends
State
<
ThrowingWidget
>
{
...
...
dev/integration_tests/web/lib/stack_trace.dart
View file @
58499c29
...
...
@@ -6,9 +6,8 @@ import 'dart:html' as html;
import
'dart:ui'
;
import
'package:collection/collection.dart'
;
import
'package:meta/dart2js.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:meta/dart2js.dart'
;
/// Expected sequence of method calls.
const
List
<
String
>
callChain
=
<
String
>[
'baz'
,
'bar'
,
'foo'
];
...
...
@@ -34,7 +33,7 @@ const List<StackFrame> expectedDebugStackFrames = <StackFrame>[
packageScheme:
'package'
,
package:
'packages'
,
packagePath:
'web_integration/stack_trace.dart'
,
line:
12
1
,
line:
12
0
,
column:
3
,
className:
'<unknown>'
,
method:
'baz'
,
...
...
@@ -45,7 +44,7 @@ const List<StackFrame> expectedDebugStackFrames = <StackFrame>[
packageScheme:
'package'
,
package:
'packages'
,
packagePath:
'web_integration/stack_trace.dart'
,
line:
11
6
,
line:
11
5
,
column:
3
,
className:
'<unknown>'
,
method:
'bar'
,
...
...
@@ -56,7 +55,7 @@ const List<StackFrame> expectedDebugStackFrames = <StackFrame>[
packageScheme:
'package'
,
package:
'packages'
,
packagePath:
'web_integration/stack_trace.dart'
,
line:
11
1
,
line:
11
0
,
column:
3
,
className:
'<unknown>'
,
method:
'foo'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment