Commit 1e9ee2f
committed
Fix rubocop offenses in test_bind_with_time
Split test_bind_with_time into four separate tests to fix:
- Metrics/AbcSize: Assignment Branch Condition size too high [32.06/17]
- Metrics/MethodLength: Method has too many lines [11/10]
- Minitest/MultipleAssertions: Test case has too many assertions [4/3]
New tests:
- test_bind_with_time: Tests binding with Time object (exact match)
- test_bind_with_time_microseconds: Tests binding with microseconds
- test_bind_with_time_now: Tests binding with current time
- test_bind_with_time_string: Tests binding with time string value
All tests pass successfully.1 parent c49c324 commit 1e9ee2f
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
803 | | - | |
804 | 803 | | |
805 | 804 | | |
806 | 805 | | |
807 | 806 | | |
808 | 807 | | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
809 | 812 | | |
810 | 813 | | |
811 | 814 | | |
812 | 815 | | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
813 | 821 | | |
814 | 822 | | |
815 | 823 | | |
816 | 824 | | |
817 | 825 | | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
818 | 831 | | |
| 832 | + | |
819 | 833 | | |
820 | 834 | | |
821 | 835 | | |
| |||
0 commit comments