mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 11:38:49 +01:00
This bug was caused when the chart encountered data outside of its visible range (i.e., the upper bound of the array size). A test was added that inserts some data from 2 years and 16 months in the past. The test failed on the old version, throwing exactly the error in bug report #1442. The fix is to check whether or not the value is within the array range before sending the "+=" operator. With this change, the test passes. |
||
|---|---|---|
| .. | ||
| .gitkeep | ||
| calendar_controller_test.rb | ||
| context_actions_data_test.rb | ||
| contexts_controller_test.rb | ||
| data_controller_test.rb | ||
| feedlist_controller_test.rb | ||
| integrations_controller_test.rb | ||
| login_controller_test.rb | ||
| message_gateway_test.rb | ||
| notes_controller_test.rb | ||
| preferences_controller_test.rb | ||
| projects_controller_test.rb | ||
| recurring_todos_controller_test.rb | ||
| search_controller_test.rb | ||
| stats_controller_test.rb | ||
| todos_controller_test.rb | ||
| users_controller_test.rb | ||