Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #67 from MichaelRFairhurst/void-fixes
Browse files Browse the repository at this point in the history
Fix void usage for dart 2
  • Loading branch information
MichaelRFairhurst authored Jan 30, 2018
2 parents 0990614 + 0537a3d commit 830c420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/comparators_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void main() {
"~"
];

void sortedBy(int compare(String a, String b)) => strings.toList()
List<String> sortedBy(int compare(String a, String b)) => strings.toList()
..shuffle()
..sort(compare);

Expand Down

0 comments on commit 830c420

Please sign in to comment.