From a748d40745611b471ee2a8dd79656aaa174eb03c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 19 Feb 2025 00:25:00 +0900 Subject: app: store values with string representation Improves code readability without changing memory layout. Signed-off-by: Ophestra --- internal/app/export_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/app/export_test.go') 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 } -- cgit v1.3.1