lst: avoid accidental modifications of base content - fix test

follow-up: 87e734856b
This commit is contained in:
Aleksey Pivovarov
2018-01-12 21:11:13 +03:00
parent 8ce7fac354
commit f47bde348b
@@ -311,7 +311,10 @@ class PartialLineStatusTrackerTest : BaseLineStatusTrackerTestCase() {
"N".replace("N2")
"M".replace("M2")
vcsDocument.setReadOnly(false)
vcsDocument.replaceString(0, 10, "XXXXX_IGNORED")
vcsDocument.setReadOnly(true)
helper.applyChanges()