Skip to content

Commit

Permalink
Replace "var" with "final" in test/bloc/todo_bloc_test.dart
Browse files Browse the repository at this point in the history
Co-authored-by: João Freitas <[email protected]>
  • Loading branch information
nelsonic and freitzzz authored Aug 3, 2023
1 parent 078d783 commit 1681845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bloc/todo_bloc_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:flutter_test/flutter_test.dart';
void main() {
group('TodoBloc', () {
// List of items to mock
var newItem = Item(description: "todo description");
final newItem = Item(description: "todo description");

blocTest(
'emits [] when nothing is added',
Expand Down

0 comments on commit 1681845

Please sign in to comment.