Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Nicolas Lopez
2020-09-15 11:20:48 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6d6ad6a3d953d543e5347eeeedb575521f10b4b7
6d6ad6a3
1 parent
04c944aa
TestFixed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
test/src/extensions/dynamic_extensions_test.dart
test/src/extensions/dynamic_extensions_test.dart
View file @
6d6ad6a
...
...
@@ -6,7 +6,8 @@ void main() {
test
(
'String test'
,
()
{
var
value
=
'string'
;
var
expected
=
''
;
void
logFunction
(
String
prefix
,
dynamic
value
,
String
info
)
{
void
logFunction
(
String
prefix
,
dynamic
value
,
String
info
,
{
bool
isError
=
false
})
{
print
(
'algo'
);
expected
=
'
$prefix
$value
$info
'
.
trim
();
}
...
...
@@ -17,7 +18,8 @@ void main() {
test
(
'Int test'
,
()
{
var
value
=
1
;
var
expected
=
''
;
void
logFunction
(
String
prefix
,
dynamic
value
,
String
info
)
{
void
logFunction
(
String
prefix
,
dynamic
value
,
String
info
,
{
bool
isError
=
false
})
{
expected
=
'
$prefix
$value
$info
'
.
trim
();
}
...
...
@@ -27,7 +29,8 @@ void main() {
test
(
'Double test'
,
()
{
var
value
=
1.0
;
var
expected
=
''
;
void
logFunction
(
String
prefix
,
dynamic
value
,
String
info
)
{
void
logFunction
(
String
prefix
,
dynamic
value
,
String
info
,
{
bool
isError
=
false
})
{
expected
=
'
$prefix
$value
$info
'
.
trim
();
}
...
...
Please
register
or
login
to post a comment