From 756e16c14bebb80d182fd5ecfa96a6efd72478d6 Mon Sep 17 00:00:00 2001 From: waalge Date: Mon, 28 Aug 2023 21:55:34 +0000 Subject: [PATCH] fix: rename assert to expect --- crates/uplc/src/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uplc/src/builder.rs b/crates/uplc/src/builder.rs index 25e2a7a3..4bff0260 100644 --- a/crates/uplc/src/builder.rs +++ b/crates/uplc/src/builder.rs @@ -379,7 +379,7 @@ impl Term { ) } - pub fn assert_on_list(self) -> Self { + pub fn expect_on_list(self) -> Self { self.lambda(EXPECT_ON_LIST) .apply(Term::var(EXPECT_ON_LIST).apply(Term::var(EXPECT_ON_LIST))) .lambda(EXPECT_ON_LIST)