Skip to content

Commit

Permalink
rename test-cases
Browse files Browse the repository at this point in the history
  • Loading branch information
trinity-1686a committed Jun 16, 2021
1 parent 2d76d44 commit 5f7d441
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -9,13 +9,13 @@ impl B { pub fn foo_b(&self) {} }
pub struct C {}
impl C { pub fn foo_c(&self) {} }

// @has issue_85037/struct.A.html '//div[@class="sidebar-links"]' 'foo_b'
// @has recursive_deref_sidebar/struct.A.html '//div[@class="sidebar-links"]' 'foo_b'
impl Deref for A {
type Target = B;
fn deref(&self) -> &B { todo!() }
}

// @!has issue_85037/struct.A.html '//div[@class="sidebar-links"]' 'foo_c'
// @!has recursive_deref_sidebar/struct.A.html '//div[@class="sidebar-links"]' 'foo_c'
impl Deref for B {
type Target = C;
fn deref(&self) -> &C { todo!() }
Expand Down
Expand Up @@ -3,7 +3,7 @@ use std::ops::Deref;
pub struct A;
pub struct B;

// @has issue_85095/struct.A.html '//code' 'impl Deref for A'
// @has recursive_deref/struct.A.html '//code' 'impl Deref for A'
impl Deref for A {
type Target = B;

Expand All @@ -12,7 +12,7 @@ impl Deref for A {
}
}

// @has issue_85095/struct.B.html '//code' 'impl Deref for B'
// @has recursive_deref/struct.B.html '//code' 'impl Deref for B'
impl Deref for B {
type Target = A;

Expand Down

0 comments on commit 5f7d441

Please sign in to comment.