File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,19 @@ class GoldenSceneReportPrinter {
49
49
buffer.write (' - ' );
50
50
// Print the width comparison.
51
51
if (mismatch.golden.size.width > mismatch.screenshot.size.width) {
52
- buffer.write ("Candidate is ${mismatch .golden .size .width - mismatch .screenshot .size .width } too narrow." );
52
+ buffer.write ("Candidate is ${mismatch .golden .size .width - mismatch .screenshot .size .width }px too narrow." );
53
53
} else if (mismatch.golden.size.width < mismatch.screenshot.size.width) {
54
- buffer.write ("Candidate is ${mismatch .screenshot .size .width - mismatch .golden .size .width } too wide." );
54
+ buffer.write ("Candidate is ${mismatch .screenshot .size .width - mismatch .golden .size .width }px too wide." );
55
55
} else {
56
56
buffer.write ("Candidate has correct width." );
57
57
}
58
58
// Print the height comparison.
59
59
if (mismatch.golden.size.height > mismatch.screenshot.size.height) {
60
- buffer.write (" Candidate is ${mismatch .golden .size .height - mismatch .screenshot .size .height } too short." );
60
+ buffer
61
+ .write (" Candidate is ${mismatch .golden .size .height - mismatch .screenshot .size .height }px too short." );
61
62
} else if (mismatch.golden.size.height < mismatch.screenshot.size.height) {
62
- buffer.write (" Candidate is ${mismatch .screenshot .size .height - mismatch .golden .size .height } too tall." );
63
+ buffer
64
+ .write (" Candidate is ${mismatch .screenshot .size .height - mismatch .golden .size .height }px too tall." );
63
65
} else {
64
66
buffer.write (" Candidate has correct height." );
65
67
}
You can’t perform that action at this time.
0 commit comments