mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
add expected test output
This commit is contained in:
parent
2c9e2524c1
commit
83dc08b3b4
2 changed files with 25 additions and 2 deletions
|
@ -1072,6 +1072,29 @@ mod test {
|
|||
r#"
|
||||
This expectation failed:
|
||||
|
||||
8│> expect
|
||||
9│>
|
||||
10│> actual : Request
|
||||
11│> actual = {
|
||||
12│> fieldA: Get,
|
||||
13│> fieldB: "/things?id=2",
|
||||
14│> }
|
||||
15│>
|
||||
16│> expected : Request
|
||||
17│> expected = {
|
||||
18│> fieldA: Get,
|
||||
19│> fieldB: "/things?id=1",
|
||||
20│> }
|
||||
21│> actual == expected
|
||||
|
||||
When it failed, these variables had these values:
|
||||
|
||||
actual : Request
|
||||
actual = { fieldA: Get, fieldB: "/things?id=2" }
|
||||
|
||||
expected : Request
|
||||
expected = { fieldA: Get, fieldB: "/things?id=1" }
|
||||
|
||||
"#
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue