fix: rename assert to expect

This commit is contained in:
waalge 2023-08-28 21:55:34 +00:00 committed by Kasey
parent baa6917af5
commit 756e16c14b
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ impl Term<Name> {
) )
} }
pub fn assert_on_list(self) -> Self { pub fn expect_on_list(self) -> Self {
self.lambda(EXPECT_ON_LIST) self.lambda(EXPECT_ON_LIST)
.apply(Term::var(EXPECT_ON_LIST).apply(Term::var(EXPECT_ON_LIST))) .apply(Term::var(EXPECT_ON_LIST).apply(Term::var(EXPECT_ON_LIST)))
.lambda(EXPECT_ON_LIST) .lambda(EXPECT_ON_LIST)