Skip to content

Commit

Permalink
Remove linebreaks from test descriptions in snapshots; fixes #1900
Browse files Browse the repository at this point in the history
  • Loading branch information
LDSamson committed Nov 26, 2023
1 parent 5659da8 commit a20a6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/snapshot-reporter.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ SnapshotReporter <- R6::R6Class("SnapshotReporter",
},

start_test = function(context, test) {
self$test <- test
self$test <- gsub("\n", "", test)
},

# Called by expectation
Expand Down

0 comments on commit a20a6d8

Please sign in to comment.