aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/report/report_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-08-20 18:23:21 +0900
committerOphestra <cat@gensokyo.uk>2026-08-20 19:05:29 +0900
commitcbd95294ba1f6c0a54fe8510814359e4a774cd67 (patch)
tree089ec619d013a2a6c0161848690c29527cc9b453 /internal/report/report_test.go
parentace59607f2189ebad3b91cd43e7b3f52057dc942 (diff)
go: 1.27
This fixes test cases affected by jsonv2 changes. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/report/report_test.go')
-rw-r--r--internal/report/report_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/report/report_test.go b/internal/report/report_test.go
index 6c7a4046..15abf13e 100644
--- a/internal/report/report_test.go
+++ b/internal/report/report_test.go
@@ -55,7 +55,7 @@ func TestDispatch(t *testing.T) {
}),
},
}, true, []string{`{"kind":"fatal","message":"rejecting coldboot loop","error":"unique error 51966 injected by the test suite"}
-`, `{"kind":"inconsistent","message":"processed inconsistent uevent","error":{"fault":1,"event":{"action":"add","devpath":"\u0000","env":{"V":"\ufffd"},"seqnum":2,"subsystem":""},"object":{"state":1,"devpath":"\u0000","subsystem":"","env":{"V":"\ufffd"}}}}
+`, `{"kind":"inconsistent","message":"processed inconsistent uevent","error":{"fault":1,"event":{"action":"add","devpath":"\u0000","env":{"V":"` + "\ufffd" + `"},"seqnum":2,"subsystem":""},"object":{"state":1,"devpath":"\u0000","subsystem":"","env":{"V":"` + "\ufffd" + `"}}}}
`}, `dispatch: rejecting coldboot loop: unique error 51966 injected by the test suite
dispatch: processed inconsistent uevent: duplicate add event on devpath "\x00"
`, nil},