aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/store
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-05 20:13:19 +0900
committerOphestra <cat@gensokyo.uk>2025-11-05 20:13:19 +0900
commit9fd97e71d0330d6b6509f28686cf53825bc80941 (patch)
tree35774cbde4c1abd9967a1de98341a732ff3b464f /internal/store
parentfba201c9953a490da914b09e09eaaa697a4b36e1 (diff)
treewide: fit test untyped int literals in 32-bit
This enables hakurei test suite to run on 32-bit targets. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/store')
-rw-r--r--internal/store/data_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/store/data_test.go b/internal/store/data_test.go
index 79faebae..62fd3c9a 100644
--- a/internal/store/data_test.go
+++ b/internal/store/data_test.go
@@ -127,8 +127,8 @@ func TestEntryData(t *testing.T) {
func newTemplateState() *hst.State {
return &hst.State{
ID: hst.ID(bytes.Repeat([]byte{0xaa}, len(hst.ID{}))),
- PID: 0xcafebabe,
- ShimPID: 0xdeadbeef,
+ PID: 0xcafe,
+ ShimPID: 0xdead,
Config: hst.Template(),
Time: time.Unix(0, 0),
}