Avoid failures on flaky test The TestPathCleanMallocs test fails sometimes (and could also be an incentive for using -short), but Shengjing Zhu agrees we shouldn't abort when that happens.
Replace the assert with a warning message if the results don't match expectations, so that we still have access to this information if we need it.
diff --git a/path_test.go b/path_test.go index caefd63..107b7a7 100644
[PATCH] Test suite: add support for Go 1.19 Cherry-pick the new test file for Go 1.19 (from the mstmdev:support_go1.19 branch), and add build restrictions for the old test file (instead of introducing functions checking the actual Go version).
Cyril Brulebois <cyril@debamax.com>
no
2022-10-11
Showing 1 to 2 of 2 entries
All known versions for source package 'golang-github-gin-gonic-gin'