Add comprehensive DateTime extension tests and improve widget documentation#2
Conversation
Co-authored-by: YoungMayor <47315212+YoungMayor@users.noreply.github.com>
…OfDay Co-authored-by: YoungMayor <47315212+YoungMayor@users.noreply.github.com>
Co-authored-by: YoungMayor <47315212+YoungMayor@users.noreply.github.com>
|
@copilot package:matcher expect ❌ /home/runner/work/flutter_utils_extensions/flutter_utils_extensions/test/extensions/datetime_test.dart: DateTime Manipulation Extensions Adding time units addYears adds correct number of years (failed) package:matcher expect ❌ /home/runner/work/flutter_utils_extensions/flutter_utils_extensions/test/extensions/datetime_test.dart: DateTime Manipulation Extensions Subtracting time units subMonths subtracts correct number of months (failed) package:matcher expect ❌ /home/runner/work/flutter_utils_extensions/flutter_utils_extensions/test/extensions/datetime_test.dart: DateTime Manipulation Extensions Subtracting time units subYears subtracts correct number of years (failed) package:matcher expect |
Co-authored-by: YoungMayor <47315212+YoungMayor@users.noreply.github.com>
Fixed in commit |
Reformatted the constructors in addMonths, addYears, subMonths, and subYears methods for improved readability and consistency in the MayrDateTimeManipulationExtensions extension.
Plan: Add Comprehensive DateTime Extension Tests
Based on analysis of the repository, the datetime_test.dart file was essentially empty (only
void main() {}), while the DateTime extensions have comprehensive functionality. This task adds complete test coverage and improves documentation.Tasks:
Summary of Changes:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.