Skip to content

Add minor polish for unit tests#287

Merged
eddelbuettel merged 1 commit intomasterfrom
de/ch9895/fragment_info_test_polish
Aug 25, 2021
Merged

Add minor polish for unit tests#287
eddelbuettel merged 1 commit intomasterfrom
de/ch9895/fragment_info_test_polish

Conversation

@eddelbuettel
Copy link
Copy Markdown
Contributor

The recent PR #286 added support for fragment info with a number of tests.

One test compared the fragment info timestamp (at R's end a Datetime aka POSIXct) to the current date. This did not adjust to TZ settings so at 7pm or later (under US Central time) it would break as ... the other time comes up at UTC and is the next day. That has been fixed.

The fragment info tests missed a call to array_consolidate (after a dual write to an array) to actually see unconsolidated metadata. Thanks to @Shelnutt2 for the hint; that has been added too.

@shortcut-integration
Copy link
Copy Markdown

This pull request has been linked to Clubhouse Story #9895: Minor test polish for fragment info.

@eddelbuettel eddelbuettel merged commit 45d7e4e into master Aug 25, 2021
@eddelbuettel eddelbuettel deleted the de/ch9895/fragment_info_test_polish branch August 25, 2021 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants