We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent debe4e3 commit 145d757Copy full SHA for 145d757
test/CMakeLists.txt
@@ -285,6 +285,14 @@ COMBINE_ADD_TEST(setParameters-out-of-range
285
PASSREGEX "outside its range"
286
)
287
288
+# Test that setting a parameter outside its range via regex throws an error
289
+COMBINE_ADD_TEST(setParameters-out-of-range-regex
290
+ COMMAND combine -M MultiDimFit simple-counting-experiment.txt --setParameters "rgx{r}=-1.05"
291
+ COPY_TO_BUILDDIR ${REPO}/data/tutorials/counting/simple-counting-experiment.txt
292
+ PASSRC 1
293
+ PASSREGEX "outside its range"
294
+)
295
+
296
COMBINE_ADD_TEST(simple-shapes-TH1-text2workspace
297
COMMAND text2workspace.py simple-shapes-TH1.txt
298
COPY_TO_BUILDDIR ${REPO}/data/tutorials/shapes/simple-shapes-TH1.txt
0 commit comments