1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
Author: Nilesh Patra <npatra974@gmail.com>
Description: Replace non-mainline unicode with \u0027 i.e. the unicode of "'".
Date: Wed - May 27, 2020
--- a/inst/unitTests/graphNEL_test.R
+++ b/inst/unitTests/graphNEL_test.R
@@ -88,7 +88,7 @@
## verify unknown node behavior
ans <- tryCatch(inEdges("not-a-node", g),
error = function(e) e)
- checkEquals("not a node: 'not-a-node'", conditionMessage(ans))
+ checkEquals("not a node: 'not-a-node'", gsub("\u2019","\u0027",gsub("\u2018","\u0027",conditionMessage(ans))))
}
testEmptyGraph <- function() {
|