Skip to content

Commit 8158f2c

Browse files
author
smeyer
committed
fixup r87474 for --disable-nls
git-svn-id: https://svn.r-project.org/R/trunk@87489 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent c9ebf7b commit 8158f2c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/reg-tests-1e.R

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,12 +1470,13 @@ if(inherits(oL, "warning")) {
14701470
(out <- tryCmsg(1 + "2"))
14711471
if(attr(oL, "ok") && capabilities("NLS") && !is.na(.popath)
14721472
&& !grepl("macOS", osVersion) # macOS fails currently
1473-
)
1473+
) {
14741474
stopifnot(is.character(print("checking 'out' : ")),
14751475
grepl("^argument non num.rique pour un ", out))
1476-
## was *not* switched to French (when this was run via 'make ..')
1477-
## reset {just in case}:
1478-
Sys.setLanguage("en")
1476+
## was *not* switched to French (when this was run via 'make ..')
1477+
## reset {just in case}:
1478+
Sys.setLanguage("en")
1479+
}
14791480

14801481

14811482
## print( ls.str() ) using '<missing>' also in non-English setup:

0 commit comments

Comments
 (0)