Skip to content

Commit

Permalink
Merge pull request #637 from metrumresearchgroup/tweak/cxx-flag-test
Browse files Browse the repository at this point in the history
change the flag in CXX flag test so test behaves same for gcc
  • Loading branch information
kylebaron authored Feb 17, 2020
2 parents 952a72a + b9e8f7f commit 73ca5f8
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 73ca5f8

Please sign in to comment.