File: test_stopWithJobErrorMessages.R

package info (click to toggle)
r-cran-parallelmap 1.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 336 kB
  • sloc: sh: 13; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9

context("stopWithJobErrorMessages")

test_that("stopWithJobErrorMessages", {
  inds = seq_along(letters)
  msgs = letters
  expect_error(stopWithJobErrorMessages(inds, msgs),
    sprintf("Errors occurred in %i slave jobs", length(letters)))
})