]> Cypherpunks.ru repositories - gostls13.git/commit
log/slog: use the general regex expression of datetime in TestPanics
authorAndy Pan <panjf2000@gmail.com>
Tue, 5 Sep 2023 11:32:49 +0000 (19:32 +0800)
committerJonathan Amsterdam <jba@google.com>
Thu, 7 Sep 2023 17:11:06 +0000 (17:11 +0000)
commit31c1f4a61136537c5b9ead371772853e772991bb
treef4c427868a2f0eca145bac4508b6706490dfc48b
parenta35bb44adcc56e4ea8594e34723b7182ffa0035c
log/slog: use the general regex expression of datetime in TestPanics

When I added this test in CL 514135, I missed the timeRE,
we should use it to make this test more precise.

Change-Id: I486f8e8bbbc3a17166107ef361d242ddf4ea2928
Reviewed-on: https://go-review.googlesource.com/c/go/+/525556
Run-TryBot: Andy Pan <panjf2000@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/log/slog/logger_test.go