r-lib / testthat
Showing 1 of 3 files from the diff.
Other files ignored by Codecov

@@ -235,7 +235,9 @@
Loading
235 235
  # `$.Throwable` from the rJava package throws with unknown fields
236 236
  expect(is.null(msg), msg, info = info, trace = act$cap[["trace"]])
237 237
238 -
  invisible(act$val %||% act$cap)
238 +
  # If a condition was expected, return it. Otherwise return the value
239 +
  # of the expression.
240 +
  invisible(if (expected) act$cap else act$val)
239 241
}
240 242
241 243
# -------------------------------------------------------------------------
Files Coverage
R 83.35%
src 100.00%
Project Totals (76 files) 83.56%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
        informational: true
10
    patch:
11
      default:
12
        target: auto
13
        threshold: 1%
14
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading