Skip to content

Commit

Permalink
Fix dartfmt and analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
feinstein committed May 11, 2021
1 parent 54bf16f commit 6f84a06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/strings_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void main() {
});
test('should be circular over many loops starting mid-way loops away', () {
expect(loop('ab', 5, 13), 'babababa');
expect('ab'.loop( 5, 13), 'babababa');
expect('ab'.loop(5, 13), 'babababa');
});
test('should default to end of string', () {
expect(loop('hello', 3), 'lo');
Expand Down Expand Up @@ -217,7 +217,7 @@ void main() {
expect('abc'.center(6, '012345'), '0abc45');

expect(center('abc', 9, '01'), '010abc101');
expect('abc'.center(9, '01'), '010abc101');
expect('abc'.center(9, '01'), '010abc101');
});

test('should handle null and empty inputs', () {
Expand Down

0 comments on commit 6f84a06

Please sign in to comment.