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
CpdnCristiano
2020-12-23 17:02:05 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2e64673496153d49b0db8dc4d0f239cdbac8a5b8
2e646734
1 parent
3c171f2e
new test
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
test/utils/extensions/string_extensions_test.dart
test/utils/extensions/string_extensions_test.dart
View file @
2e64673
...
...
@@ -690,14 +690,17 @@ void main() {
});
test
(
'var.removeAllWhitespace'
,
()
{
String
nullString
;
expect
(
'foo bar'
.
removeAllWhitespace
,
'foobar'
);
expect
(
'foo'
.
removeAllWhitespace
,
'foo'
);
expect
(
''
.
removeAllWhitespace
,
null
);
expect
(
''
.
removeAllWhitespace
,
''
);
expect
(
nullString
.
removeAllWhitespace
,
null
);
});
test
(
'var.camelCase'
,
()
{
expect
(
'foo bar'
.
camelCase
,
'fooBar'
);
expect
(
'the fox jumped in the water'
.
camelCase
,
'theFoxJumpedInTheWater'
);
expect
(
'foo_bar'
.
camelCase
,
'fooBar'
);
expect
(
''
.
camelCase
,
null
);
});
...
...
Please
register
or
login
to post a comment