Skip to content

Commit

Permalink
refs #11573. Implies int generic list fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Apr 22, 2015
1 parent 8830e50 commit 500a691
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -41,7 +41,7 @@ class IntegrateMDHistoWorkspaceTest : public CxxTest::TestSuite
alg.initialize();
alg.setProperty("InputWorkspace", ws);
const double step = 0.1;
alg.setProperty("P1Bin", boost::assign::list_of(0)(step)(1).convert_to_container<std::vector<double> >());
alg.setProperty("P1Bin", boost::assign::list_of(0.0)(step)(1.0).convert_to_container<std::vector<double> >());
alg.setPropertyValue("OutputWorkspace", "dummy");
TSM_ASSERT("Expect validation errors", alg.validateInputs().size() > 0);
TSM_ASSERT_THROWS("No new steps allowed", alg.execute(), std::runtime_error&);
Expand Down

0 comments on commit 500a691

Please sign in to comment.