-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
This issue was copied over from: https://github.com/disneystreaming/weaver-test/issues/186
It was opened by: kubukoz
This might be an expecty bug, I didn't check yet.
For a test like this:
pureTest("demo") {
assert(
List(1, 2, 3).sum == List(
1 + 2,
3 + 1
).sum
)
}
You will see:
[E] - demo
[E] assertion failed (../../dev/pass/kernel/src/test/scala/com/ocado/ospnow/wms/tap/kernel/ConsumerOpsTests.scala:62)
[E]
[E] List(1, 2, 3).sum == List(
[E] | | | | |
[E] | 7 6 | List(3, 4)
[E] List(1, 2, 3) false
[E]
[E]
You can see the 7
that was the result of the RHS, but it's not in the valid position.
Metadata
Metadata
Assignees
Labels
No labels