From ab640f9fbf96320997643067bd8fb95b82b6377a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 22 Nov 2014 21:19:27 +0000 Subject: [PATCH] Tweak the way we set initial text in testing framework --- test/run | 2 +- test/unit/GOTO/last-change/selections | 2 +- test/unit/goto/last-change/selections | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/run b/test/run index 75c2f647..e8674c60 100755 --- a/test/run +++ b/test/run @@ -27,7 +27,7 @@ main() { source rc } try %{ - exec '%s%\((.+?)\)ia' + exec '%s%\(\K[^)]+ld(hHdi' } \ catch %{ exec gg diff --git a/test/unit/GOTO/last-change/selections b/test/unit/GOTO/last-change/selections index 333dc6b4..c4ff167b 100644 --- a/test/unit/GOTO/last-change/selections +++ b/test/unit/GOTO/last-change/selections @@ -1,3 +1,3 @@ foo - +b diff --git a/test/unit/goto/last-change/selections b/test/unit/goto/last-change/selections index 139597f9..61780798 100644 --- a/test/unit/goto/last-change/selections +++ b/test/unit/goto/last-change/selections @@ -1,2 +1 @@ - - +b