-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing: Added first fuzzing tests and fixed one bug (yeah!) #14
Merged
Conversation
This file contains 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
* main: (36 commits) README: Add chapter about development + unit testing README: New headline for other parsers and moved inspiration chapter down README: Add new (more extensive) example ci: run unit tests on Go 1.19-1.15 ci: run staticcheck only on latest Go version ci: run go vet only on latest Go version ci: run go fmt only on latest Go version testing: Add testcase to expect a curly brace as a second item, not an ident Fixed missleading error message: We expect a curly brace as a second token, not an ident testing: Add new test for an broken/invalid comment parseMap(): Simplified code a bit by removing duplicate statements Makefile: Add commands for go test coverage and displaying them as HTML Parser/parseMap: Remove handling of CommentDoubleSlash and forgotten debug fmt.Println New testdata: Full blown sample configuration file Makefile: Fixed staticcheck installation Go: Removed v1.17, added v1.19 Bump actions/cache from 3.0.10 to 3.0.11 Bump actions/cache from 3.0.8 to 3.0.10 Bump actions/cache from 3.0.7 to 3.0.8 Bump actions/cache from 3.0.6 to 3.0.7 ...
…orking as expected
…zzing-corpus.git'. Expected format {owner}/{repo}."
…e existing corpus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a few fuzzing tests from https://go.dev/doc/fuzz/
Go v1.18 is required.
Fixed one type assertion bug found by fuzzing.