Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Fix test cases with missing 'attrs' field
Browse files Browse the repository at this point in the history
  • Loading branch information
mindsbackyard committed Oct 4, 2016
1 parent 53e8ba4 commit 00e04c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_ty_param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ fn test_ty_param_empty() {
assert_eq!(
ty_param,
ast::TyParam {
attrs: ast::ThinVec::new(),
ident: builder.id("T"),
id: ast::DUMMY_NODE_ID,
bounds: P::new(),
Expand All @@ -34,6 +35,7 @@ fn test_ty_param_default() {
assert_eq!(
ty_param,
ast::TyParam {
attrs: ast::ThinVec::new(),
ident: builder.id("T"),
id: ast::DUMMY_NODE_ID,
bounds: P::new(),
Expand All @@ -57,6 +59,7 @@ fn test_ty_param_bounds() {
assert_eq!(
ty_param,
ast::TyParam {
attrs: ast::ThinVec::new(),
ident: builder.id("T"),
id: ast::DUMMY_NODE_ID,
bounds: P::from_vec(vec![
Expand Down

0 comments on commit 00e04c8

Please sign in to comment.