about summary refs log tree commit diff
path: root/tests/rustdoc/assoc-item-cast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/assoc-item-cast.rs')
-rw-r--r--tests/rustdoc/assoc-item-cast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/assoc-item-cast.rs b/tests/rustdoc/assoc-item-cast.rs
index a409d64131a..ab9702a24f4 100644
--- a/tests/rustdoc/assoc-item-cast.rs
+++ b/tests/rustdoc/assoc-item-cast.rs
@@ -10,5 +10,5 @@ pub trait AsExpression<T> {
 }
 
 // @has foo/type.AsExprOf.html
-// @has - '//pre[@class="rust typedef"]' 'type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;'
+// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;'
 pub type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;