summaryrefslogtreecommitdiff
path: root/hamlet.go
diff options
context:
space:
mode:
authordemo <demo@antix1>2026-05-30 11:19:45 -0400
committerdemo <demo@antix1>2026-05-30 11:19:45 -0400
commit607912892bc7f1dbbdf9a8a42bc91cdb9f480079 (patch)
treee1ecd4827fbb9de57c9bd0e113e1bec2b93de5d6 /hamlet.go
parenta7822e4da505e1aac12cd487a2b791ef1fe2cd41 (diff)
style: rename Value to Assert
Diffstat (limited to 'hamlet.go')
-rw-r--r--hamlet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hamlet.go b/hamlet.go
index 1bdcc94..8b2a6b7 100644
--- a/hamlet.go
+++ b/hamlet.go
@@ -6,7 +6,7 @@ type Assertion struct {
value bool
}
-func (a Assertion) Value() bool {
+func (a Assertion) Assert() bool {
return a.value
}