Skip to content

Commit

Permalink
add temporary hook for testfiles/supporthook/regression-test.cfg (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjr committed Dec 14, 2024
1 parent b0bb021 commit 254edff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tabularray.sty
Original file line number Diff line number Diff line change
Expand Up @@ -3770,6 +3770,8 @@
\dim_compare:nNnT { \l__tblr_w_tl } < { 0pt } % column width unset
{
%% To keep \lTblrMeasuringBool correct we need measure=vstore from varwidth.
%% A temporary private hook for testfiles/supporthook/regression-test.cfg.
\use:c { __tblr_temp_hook_for_measure_vstore_testing: }
\tl_if_eq:NnTF \l__tblr_inner_spec_measure_tl { vstore }
{
\__tblr_build_vcell_with_vstore:
Expand Down
6 changes: 6 additions & 0 deletions testfiles/supporthook/regression-test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@
\usepackage{array}

\UseTblrLibrary{hook}
\ExplSyntaxOn
\cs_new_protected:Npn \__tblr_temp_hook_for_measure_vstore_testing:
{
\tl_set:Nn \l__tblr_inner_spec_measure_tl { vstore }
}
\ExplSyntaxOff

0 comments on commit 254edff

Please sign in to comment.