diff options
author | nyamatongwe <devnull@localhost> | 2013-04-15 20:53:34 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-04-15 20:53:34 +1000 |
commit | 15953654d7b0bc06f1cf6a767b7aaf7dfdbb07fe (patch) | |
tree | eb8740581c3cdbc31f998081964c661e3e059d84 | |
parent | 0378e8f8497c8408400f125607160e0fe707f13b (diff) | |
download | scintilla-mirror-15953654d7b0bc06f1cf6a767b7aaf7dfdbb07fe.tar.gz |
Update tests for last change to RunStyles as it no longer throws in FillRange.
-rw-r--r-- | test/unit/testRunStyles.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/unit/testRunStyles.cxx b/test/unit/testRunStyles.cxx index 3c09dd87a..bf3dfc3e6 100644 --- a/test/unit/testRunStyles.cxx +++ b/test/unit/testRunStyles.cxx @@ -320,11 +320,7 @@ TEST_F(RunStylesTest, OutsideBounds) { prs->InsertSpace(0, 1); int startFill = 1; int lengthFill = 1; - try { - prs->FillRange(startFill, 99, lengthFill); - } catch (std::invalid_argument &) { - // Exception is supposed to occur so ignore. - } + prs->FillRange(startFill, 99, lengthFill); EXPECT_EQ(1, prs->Length()); EXPECT_EQ(1, prs->Runs()); EXPECT_EQ(0, prs->StartRun(0)); |