aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/export_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-19 00:25:00 +0900
committerOphestra <cat@gensokyo.uk>2025-02-19 00:25:00 +0900
commita748d40745611b471ee2a8dd79656aaa174eb03c (patch)
tree6734d036b37ebd40798578a60cf54c2527515a60 /internal/app/export_test.go
parent648e1d641a8b0ae7c5bc4899f84b884d4335c97f (diff)
app: store values with string representation
Improves code readability without changing memory layout. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/export_test.go')
-rw-r--r--internal/app/export_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/app/export_test.go b/internal/app/export_test.go
index 836e04c6..1dd1aa1f 100644
--- a/internal/app/export_test.go
+++ b/internal/app/export_test.go
@@ -9,7 +9,7 @@ import (
func NewWithID(id fst.ID, os sys.State) fst.App {
a := new(app)
- a.id = &id
+ a.id = newID(&id)
a.os = os
return a
}