From b9e8f7f1f4c3f3e6ccbf80ad0897464e9b8004f7 Mon Sep 17 00:00:00 2001 From: Kyle Baron Date: Thu, 13 Feb 2020 10:26:18 -0600 Subject: [PATCH] change the flag in CXX flag test so test behaves same for gcc --- inst/validation/test-validation.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/validation/test-validation.R b/inst/validation/test-validation.R index 0f9733a5e..76a6ed324 100644 --- a/inst/validation/test-validation.R +++ b/inst/validation/test-validation.R @@ -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" ) })