@@ -178,16 +178,16 @@ test("every trip timeline bar shows its day count", () => {
178178} ) ;
179179
180180test ( "travel days always use the whole-day absence convention" , ( ) => {
181- assert . match ( indexSource , / A c c o r d i n g t o o f f i c i a l g u i d a n c e , [ \s \S ] * ?d a y s o f d e p a r t u r e o r a r r i v a l [ \s \S ] * ?a r e n o t c o u n t e d a s a n a b s e n c e \. / ) ;
181+ assert . match ( indexSource , / A c c o r d i n g t o t h e o f f i c i a l g u i d a n c e , [ \s \S ] * ?d a y s o f d e p a r t u r e o r a r r i v a l [ \s \S ] * ?a r e n o t c o u n t e d a s a n a b s e n c e \. / ) ;
182182 assert . doesNotMatch ( indexSource , / C o u n t a s a d a y o u t s i d e t h e U K | i d = " c d e p " | i d = " c a r r " / ) ;
183183 assert . doesNotMatch ( appSource , / c o u n t D e p a r t u r e | c o u n t A r r i v a l | C O N V _ K E Y | r e s t o r e C o n v e n t i o n / ) ;
184184 assert . match ( appSource , / t r i p B l o c k s \( t r i p s , f a l s e , f a l s e \) / ) ;
185185 assert . match ( appSource , / i n i t i a l B l o c k \( v i s a V a l i d F r o m , f i r s t A r r i v a l O n , f a l s e \) / ) ;
186186} ) ;
187187
188188test ( "travel-day guidance sits after the full main layout" , ( ) => {
189- assert . match ( indexSource , / < \/ m a i n > \s * < f o o t e r > \s * < s p a n > A c c o r d i n g t o o f f i c i a l g u i d a n c e , / ) ;
190- assert . match ( indexSource , / < s p a n c l a s s = " f o o t e r - c r e d i t " > m a d e w i t h ❤ ️ b y I n d r a d h a n u s h G u p t a < \/ s p a n > / ) ;
189+ assert . match ( indexSource , / < \/ m a i n > \s * < f o o t e r > \s * < s p a n > A c c o r d i n g t o t h e o f f i c i a l g u i d a n c e , / ) ;
190+ assert . match ( indexSource , / < s p a n c l a s s = " f o o t e r - c r e d i t " > M a d e w i t h ❤ ️ b y I n d r a d h a n u s h G u p t a < \/ s p a n > / ) ;
191191 assert . match ( indexSource , / \. f o o t e r - c r e d i t \{ [ \s \S ] * ?m a r g i n - l e f t : a u t o ; [ \s \S ] * ?t e x t - a l i g n : r i g h t ; / ) ;
192192 assert . match ( indexSource , / @ m e d i a \( m a x - w i d t h : 5 2 0 p x \) [ \s \S ] * ?\. f o o t e r - c r e d i t \{ \s * f l e x - b a s i s : 1 0 0 % ; / ) ;
193193 assert . match ( indexSource , / g r i d - t e m p l a t e - r o w s : a u t o 1 f r a u t o ; / ) ;
0 commit comments