aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/simpleTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py
index 82ed84810..2d8b25e68 100644
--- a/test/simpleTests.py
+++ b/test/simpleTests.py
@@ -535,10 +535,10 @@ class TestSimple(unittest.TestCase):
self.ed.Clear()
self.assertEquals(self.ed.Contents(), b"1c")
- def testPasteRectangular(self):
+ def testReplaceRectangular(self):
self.ed.AddText(5, b"a\nb\nc")
self.ed.SetSel(0,0)
- self.ed.PasteRectangular(3, b"1\n2")
+ self.ed.ReplaceRectangular(3, b"1\n2")
self.assertEquals(self.ed.Contents(), b"1a\n2b\nc")
def testCopyAllowLine(self):