Skip to content

Commit

Permalink
change the flag in CXX flag test so test behaves same for gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebaron committed Feb 13, 2020
1 parent 952a72a commit b9e8f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/validation/test-validation.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ test_that("control ss advance issue-598", {
})

test_that("PKG_CXXFLAGS is set issue-603", {
code <- '$ENV PKG_CXXFLAGS = "-Wbadflag"'
code <- '$ENV PKG_CXXFLAGS = "-Wdiv-by-zero"'
expect_output(
mcode("cxxflags", code, ignore.stdout = FALSE,preclean=TRUE),
regexp = "Wbadflag"
regexp = "Wdiv-by-zero"
)
})

Expand Down

0 comments on commit b9e8f7f

Please sign in to comment.