Skip to content

Commit

Permalink
update anchor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt committed Jan 14, 2025
1 parent 407edbc commit 59ebb7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panel/tests/ui/pane/test_markup.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def test_anchor_scroll(page):
md = ''
for tag in ['tag1', 'tag2', 'tag3']:
md += f'# {tag}\n\n'
md += f'{tag} content\n' * 50
md += f'{tag} content \n' * 50

content = Markdown(md)
link = Markdown('<a id="link1" href="#tag1">Link1</a><a id="link3" href="#tag3">Link</a>')
Expand All @@ -145,7 +145,7 @@ def test_anchor_scroll_on_init(page):
md = ''
for tag in ['tag1', 'tag2', 'tag3']:
md += f'# {tag}\n\n'
md += f'{tag} content\n' * 50
md += f'{tag} content \n' * 50

content = Markdown(md)

Expand Down

0 comments on commit 59ebb7b

Please sign in to comment.