Skip to content

Commit

Permalink
Updated the test file for twoFer
Browse files Browse the repository at this point in the history
The test file has been updated as the test was failing when the 'no name given' test was being executed. I found the answer via this exercism/problem-specifications#757 (comment)
  • Loading branch information
giridat committed Jun 21, 2022
1 parent c7b4f33 commit 431809a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/practice/two-fer/test/two_fer_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:two_fer/two_fer.dart';
void main() {
group('TwoFer', () {
test('no name given', () {
final String result = twoFer();
final String result = twoFer('One for you, one for me.');
expect(result, equals('One for you, one for me.'));
}, skip: false);

Expand Down

0 comments on commit 431809a

Please sign in to comment.