https://github.com/fbiville/strange-bugs
https://github.com/fbiville/strange-bugs
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fbiville/strange-bugs
- Owner: fbiville
- License: apache-2.0
- Created: 2019-03-01T21:04:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-01T21:35:57.000Z (over 7 years ago)
- Last Synced: 2025-02-10T09:12:43.994Z (over 1 year ago)
- Language: Kotlin
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Strange bugs
## ClassCastException with `mockito-kotlin` and `Result.flatMap` custom extension
Run:
```console
$ mvn test -Dtest=SomeServiceFlatMapTest
```
## ClassCastException with `mockito-kotlin` and built-in `Result.map`
Run:
```console
$ mvn test -Dtest=SomeServiceMapTest
```
## `Result.failure(xxx)` results in `isSuccess == true` with `jqwik` and `Result.forEach` custom extension
```console
$ mvn test -Dtest='ForEach*'
```