chore: avoid using of log.Fatal in main in tests by stevenh · Pull Request #2739 · testcontainers/testcontainers-go
Remove use of log fatal which prevents defers. Correct order of Write and WriteHeader a update test to validate the correct behaviour, leveraging require.
mdelapenya
changed the title
fix: use of log.Fatal in main
chore: avoid using of log.Fatal in main
mdelapenya
changed the title
chore: avoid using of log.Fatal in main
chore: avoid using of log.Fatal in main in tests
mdelapenya added a commit that referenced this pull request
Aug 22, 2024* main: chore(deps): bump github/codeql-action from 3.24.9 to 3.25.15 (#2677) fix: use of log.Fatal in main (#2739) chore: prepare for next minor development cycle (0.34.0) chore: use new version (v0.33.0) in modules and examples fix: authentication tests on WSL (#2706) fix(registry): compatibility with WSL (#2705)
mdelapenya added a commit to mdelapenya/testcontainers-go that referenced this pull request
Aug 26, 2024* main: chore(deps): bump minimal Go version from 1.21 to 1.22 (testcontainers#2743) chore(deps): bump github/codeql-action from 3.24.9 to 3.25.15 (testcontainers#2677) fix: use of log.Fatal in main (testcontainers#2739) chore: prepare for next minor development cycle (0.34.0) chore: use new version (v0.33.0) in modules and examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters