From 2f64d129d79fc5ff864c1e77b7db50593dd69168 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Tue, 10 Sep 2024 16:24:58 -0400 Subject: [PATCH] Add new line in expected value --- inst/apps/200-flexdashboard-render-text/index.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/apps/200-flexdashboard-render-text/index.Rmd b/inst/apps/200-flexdashboard-render-text/index.Rmd index b63292645d..082ff9804c 100644 --- a/inst/apps/200-flexdashboard-render-text/index.Rmd +++ b/inst/apps/200-flexdashboard-render-text/index.Rmd @@ -79,8 +79,8 @@ shinyjster::shinyjster_js(" jst.add(Jster.shiny.waitUntilStable); jst.add(Jster.shiny.waitUntilStable); - assert_equal_qs('a[href=\"#section-p1\"]', 'Page 1: ' + month); - assert_equal_qs('a[href=\"#section-p2\"]', 'Page 2: ' + month); + assert_equal_qs('a[href=\"#section-p1\"]', 'Page 1:\n' + month); + assert_equal_qs('a[href=\"#section-p2\"]', 'Page 2:\n' + month); assert_equal('sidebarContent', 'Sidebar Content: ' + month); assert_equal_qs('#section-hidden1 .value-output', 'VB1: ' + month);