Go. Assertions for structures should be accurate #1809
Labels
ctg-bug
Issue is a bug
ctg-question
Further information is requested
lang-go
Issue is related to Go support
Description
Now tests generated for Go structures have
assertNotEquals
for the whole structure.Actual and expected structures have only one different field.
If some other field is different in actual and expected structures, the test will pass too.
Context
for example:
utbot-go/go-samples/simple/supported_types_go_ut_test.go
seeTestStructWithNanByUtGoFuzzer
Actual behavior
Expected behavior
Environment
IntelliJ IDEA 2022.1 - 2022.2 Ultimate/Community
GoLand 2022.2
The text was updated successfully, but these errors were encountered: