aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/simpleTests.py
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-05-15 17:53:29 +1000
committerNeil <nyamatongwe@gmail.com>2021-05-15 17:53:29 +1000
commit8710c258ac84500e2a0e233aa9f8fbebbc8b323b (patch)
tree017795b8092821cd9ff5625348a26cc6640ed9b8 /test/simpleTests.py
parent98e6b6ff51e05ae08e31c81954ff10dfb7191be5 (diff)
downloadscintilla-mirror-8710c258ac84500e2a0e233aa9f8fbebbc8b323b.tar.gz
Updated test since setting the alpha of caret line when it hasn't had colour set
no longer sets it to have a colour.
Diffstat (limited to 'test/simpleTests.py')
-rw-r--r--test/simpleTests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py
index 1a619a656..bcb11091d 100644
--- a/test/simpleTests.py
+++ b/test/simpleTests.py
@@ -2041,6 +2041,7 @@ class TestElements(unittest.TestCase):
self.ed.CaretLineBackAlpha = 0x100
self.assertEquals(self.ed.CaretLineBackAlpha, 0x100)
self.assertEquals(self.ed.CaretLineLayer, 0) # SC_ALPHA_NOALPHA moved to base layer
+ self.ed.CaretLineBack = backColour
self.assertTrue(self.ed.GetElementIsSet(self.ed.SC_ELEMENT_CARET_LINE_BACK))
self.ed.CaretLineVisible = 0
self.assertFalse(self.ed.GetElementIsSet(self.ed.SC_ELEMENT_CARET_LINE_BACK))