Move more scrape-examples logic from JS to rust

Fix failing test

Add missing backslash

Fix padding issue with horizontal scrollbar
This commit is contained in:
Will Crichton 2021-10-07 10:27:09 -07:00
parent bb383edb69
commit e22e858687
7 changed files with 64 additions and 63 deletions

View file

@ -1,5 +1,5 @@
// @has foobar/b/fn.foo.html '//*[@class="scraped-example"]' 'ex.rs'
// @has foobar/c/fn.foo.html '//*[@class="scraped-example"]' 'ex.rs'
// @has foobar/b/fn.foo.html '//*[@class="scraped-example expanded"]' 'ex.rs'
// @has foobar/c/fn.foo.html '//*[@class="scraped-example expanded"]' 'ex.rs'
#[path = "a.rs"]
pub mod b;