Skip to content

Commit

Permalink
Update snapshots to latest cargo-insta version (#52)
Browse files Browse the repository at this point in the history
Update snapshots to cargo-insta 1.34.0
  • Loading branch information
Bromeon authored Feb 1, 2024
1 parent 5f48c4d commit 21e93f9
Show file tree
Hide file tree
Showing 59 changed files with 2 additions and 102 deletions.
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__add_bounded_lifetime.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 846
expression: tokens
---
struct Hello < ' b : c + d > { a : A , b : B , }
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__add_bounded_ty_param.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 885
expression: tokens
---
struct Hello < T : Clone > { a : A , b : B , }
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__add_const_param-2.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 913
expression: tokens
---
struct Hello < A , B , const N : u32 > { a : A , b : B , }
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__add_const_param.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 912
expression: tokens
---
struct Hello < const N : u32 > { a : A , b : B , }
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__add_lifetime-2.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 828
expression: tokens
---
struct Hello < 'b , A , B > { a : A , b : B , }
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__add_lifetime-3.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 829
expression: tokens
---
struct Hello < 'b , 'a , A , B > { a : & 'a A , b : B , }
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__add_lifetime.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 827
expression: tokens
---
struct Hello < 'b > { a : A , b : B , }
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__add_ty_param-2.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 868
expression: tokens
---
struct Hello < A , B , T > { a : A , b : B , }
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__add_ty_param.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 867
expression: tokens
---
struct Hello < T > { a : A , b : B , }
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__add_where_item-2.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 940
expression: tokens
---
struct Hello < A , B > where A : Clone , B : Clone , Self : Sized { a : A , b : B , }
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__add_where_item.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 939
expression: tokens
---
struct Hello where Self : Sized { a : A , b : B , }

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 581
expression: struct_type
---
Struct(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 337
expression: "struct_type.attributes()[0].get_single_path_segment()"
---
None
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 338
expression: "struct_type.attributes()[1].get_single_path_segment()"
---
Some(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 534
expression: enum_type_2
---
Err(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 535
expression: enum_type_3
---
Ok(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 533
expression: enum_type_1
---
Err(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_const_generics.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 527
expression: struct_type
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_empty_enum.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 119
expression: enum_type
---
Enum(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_empty_struct.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 110
expression: struct_type
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_empty_tuple.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 101
expression: struct_type
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_enum.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 70
expression: enum_type
---
Enum(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 504
expression: enum_type
---
Enum(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 440
expression: enum_type
---
Enum(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 487
expression: enum_type
---
Enum(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_enum_vis-2.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 201
expression: enum_type_pub_crate
---
Enum(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_enum_vis-3.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 202
expression: enum_type_crate
---
Enum(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_enum_vis.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 200
expression: enum_type_pub
---
Enum(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_enum_where_clause.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 389
expression: enum_type
---
Enum(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_fn_traits.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 539
expression: struct_type
---
Struct(
Expand Down
2 changes: 1 addition & 1 deletion src/snapshots/venial__tests__parse_generic_args.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
source: src/tests.rs
expression: parsed
expression: generic_args
---
GenericArgList {
args: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
source: src/tests.rs
expression: parsed
expression: generic_args
---
GenericArgList {
tk_turbofish_colons: "::",
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_multiple_brackets.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 553
expression: struct_type
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_normal_struct.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 67
expression: struct_type
---
Struct(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 417
expression: struct_type
---
Struct(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 467
expression: struct_type
---
Struct(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 182
expression: struct_type_pub_crate
---
Struct(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 183
expression: struct_type_crate
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_normal_struct_vis.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 181
expression: struct_type_pub
---
Struct(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 365
expression: struct_type
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_struct_fields_vis.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 226
expression: struct_type
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_tuple_fields_vis.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 235
expression: struct_type
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_tuple_struct.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 55
expression: struct_type
---
Struct(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 402
expression: struct_type
---
Struct(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 455
expression: struct_type
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_tuple_struct_vis-2.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 156
expression: struct_type_pub_crate
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_tuple_struct_vis-3.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 157
expression: struct_type_crate
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_tuple_struct_vis.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 155
expression: struct_type_pub
---
Struct(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 349
expression: struct_type
---
Struct(
Expand Down
1 change: 0 additions & 1 deletion src/snapshots/venial__tests__parse_union.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
source: src/tests.rs
assertion_line: 92
expression: union_type
---
Union(
Expand Down
Loading

0 comments on commit 21e93f9

Please sign in to comment.