fix: the refactor on discharge value env (#393)

This commit is contained in:
Kasey
2023-02-18 20:49:29 -05:00
committed by GitHub
parent 1aea586cab
commit f3cdc05875
7 changed files with 618 additions and 5 deletions

View File

@@ -63,3 +63,13 @@ test expect_list3() {
expect [a, ..d]: List<Int> = initial_car
a == 5 && d == [6, 7]
}
type Redeemer {
CreateVoteBatch { id: ByteArray }
}
test single_field_expect() {
let redeemer = CreateVoteBatch { id: #"" }
expect CreateVoteBatch { id } = redeemer
id == #""
}