[Rt-commit] rt branch 5.0/make-config-history-more-readable updated. rt-5.0.2-68-g17f2329fdc
BPS Git Server
git at git.bestpractical.com
Mon Mar 14 17:43:19 UTC 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".
The branch, 5.0/make-config-history-more-readable has been updated
via 17f2329fdc7be3e65f5d9e178abdb06ee4725ada (commit)
from 5f803a2228d316df73a3dd2c5b7393357ef3efa8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 17f2329fdc7be3e65f5d9e178abdb06ee4725ada
Author: Brad Embree <brad at bestpractical.com>
Date: Mon Mar 14 10:30:02 2022 -0700
Change text_like regex to reflect code change
The transaction history display of text custom field changes over max lines now has two divs. One with the truncated value and one with the full value. Need to adjust the test to reflect that change.
diff --git a/t/web/cf_textarea.t b/t/web/cf_textarea.t
index a15aa5edc1..32aa81f005 100644
--- a/t/web/cf_textarea.t
+++ b/t/web/cf_textarea.t
@@ -123,7 +123,7 @@ $m->follow_link_ok( { text => 'Display' } );
$content =~ s!\n+!!g;
$m->text_like(
qr/TheTextarea\sadded.+\Q$content\E.+
- TheTextarea\schanged.+From:\Q$content\ETo:\Q$new_content\E.+
+ TheTextarea\schanged.+From:.*\Q$content\E.*To:\Q$new_content\E.+
TheTextarea\schanged.+From:\Q$new_content\ETo:\Q$newer_content\E.+
TheTextarea\sdeleted.+\Q$newer_content\E/xs,
'textarea change details'
-----------------------------------------------------------------------
Summary of changes:
t/web/cf_textarea.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
rt
More information about the rt-commit
mailing list