Diffstat (limited to 'tests/walkers/core/struct.rs')
-rw-r--r--tests/walkers/core/struct.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/walkers/core/struct.rs b/tests/walkers/core/struct.rs
index 5ac0926..9ac2d59 100644
--- a/tests/walkers/core/struct.rs
+++ b/tests/walkers/core/struct.rs
@@ -3,7 +3,7 @@ use treaty::{
any::{OwnedStatic, TypeNameId},
effect::{BlockOn, Blocking, Effect, Future, Spin},
protocol::{
- visitor::{DynTag, DynValue, TagConst},
+ visitor::{TagConst, TagProto, ValueProto},
Visitor,
},
walkers::core::{
@@ -71,7 +71,7 @@ fn demo2() {
.expect_traits_mut()
.once()
.with(eq(TypeNameId::of::<
- DynTag<'static, TagConst<{ TAG_STRUCT.to_int() }>, Blocking>,
+ TagProto<TagConst<{ TAG_STRUCT.to_int() }>, Blocking>,
>()))
.in_sequence(&mut seq)
.return_var(Some(Box::new({
@@ -94,7 +94,7 @@ fn demo2() {
.expect_traits_mut()
.once()
.with(eq(TypeNameId::of::<
- DynTag<'static, TagConst<{ TAG_TYPE_NAME.to_int() }>, Blocking>,
+ TagProto<TagConst<{ TAG_TYPE_NAME.to_int() }>, Blocking>,
>()))
.in_sequence(&mut seq)
.return_var(Some(Box::new({
@@ -107,7 +107,7 @@ fn demo2() {
.expect_traits_mut()
.once()
.with(eq(TypeNameId::of::<
- DynValue<'static, OwnedStatic<&'static str>, Blocking>,
+ ValueProto<OwnedStatic<&'static str>, Blocking>,
>()))
.return_var(Some(Box::new({
let mut mock =