From b6dbf0540a5e8877194cd48335cbf14bdd51f9b1 Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Wed, 12 Feb 2025 11:21:14 -0800 Subject: [PATCH] ci: Fix MacVim test breakage for testIPCSelectedText test It seems that the input system is a little flaky and can occasionally drop the full command. Switching to a regular Vim function seems to alleviate this for now. This would be looked at and revamped in more details when we drop Distributed Objects soon. --- src/MacVim/MacVimTests/MacVimTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MacVim/MacVimTests/MacVimTests.m b/src/MacVim/MacVimTests/MacVimTests.m index 463affa405..d1ce195925 100644 --- a/src/MacVim/MacVimTests/MacVimTests.m +++ b/src/MacVim/MacVimTests/MacVimTests.m @@ -1394,7 +1394,7 @@ - (void) testFullScreenNonNativeMultiScreen { /// Test the selected text related IPC APIs - (void)testIPCSelectedText { [self createTestVimWindow]; - [self sendStringToVim:@":put =['abcd', 'efgh', 'ijkl']\nggdd" withMods:0]; + [self sendStringToVim:@":call setline(1,['abcd','efgh','ijkl'])\n" withMods:0]; [self waitForEventHandlingAndVimProcess]; MMAppController *app = MMAppController.sharedInstance;