]> Cypherpunks repositories - gostls13.git/commit
runtime: use EnumTimeFormatsEx instead of EnumWindows in callback tests
authorJordan Rhee <jordanrh@microsoft.com>
Sun, 30 Dec 2018 00:19:16 +0000 (16:19 -0800)
committerAlex Brainman <alex.brainman@gmail.com>
Sun, 30 Dec 2018 04:55:26 +0000 (04:55 +0000)
commit3e89272f9c87f69dc687b96687b1e3d29e9f5d84
tree8dfc63c9947f7b39617275f48b2d1bc0a1a59515
parent58a17b43d14a1e31e5aa2738747157488168cd96
runtime: use EnumTimeFormatsEx instead of EnumWindows in callback tests

Use EnumTimeFormatsEx() to test panics across callback boundaries
instead of EnumWindows(). EnumWindows() is incompatible with Go's panic
unwinding mechanism. See the associated issue for more information.

Updates #26148

Change-Id: If1dd70885d9c418b980b6827942cb1fd16c73803
Reviewed-on: https://go-review.googlesource.com/c/155923
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/runtime/syscall_windows_test.go